- 0
Problema cu un gang system
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Raphy
Salut. Am o problema la gang system, si nu stiu cum s-o rezolv. Am incercat si singur urmand niste tutoriale de pe sa-mp wiki sau de pe sa-mp.com, dar degeaba. Problema este ca gangurile nu se salveaza. Am observat ca are o functie in care incarca doar fiserele, nu le si salveaza. Autorul acestui system a spus ca problema poate fi rezolvata de la acea functie.
Functia: [pawn]public LoadData(playerid)
{
for(new count = 20;count<MAX_GANGS;count++)
{
new Load[256];
format(fileZ, sizeof(fileZ),"Gangs/GANG_%d.ini",count);
if(dini_Exists(fileZ))
{
Load = dini_Get(fileZ,"Name");
strmid(gangNames[playerid],Load,0,256,256);
format(fileZ, sizeof(fileZ),"Gang : ID = %d ",gangNames[playerid]);
printf("%s", fileZ);
}
}
}[/pawn]
Va rog frumos sa-mi explicati cum sa fac. Multumesc anticipat.
5 answers to this question
Recommended Posts