07.10.2015, 06:24
may you resting the state some where try to get the numbers directly from dini like the below >
PHP Code:
forward RacesF(playerid);
public RacesF(playerid)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), MissPath, name);
return dini_Int(file, "RacesFinish");
}
forward R1st(playerid);
public R1st(playerid)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), MissPath, name);
return dini_Int(file, "Race1st");
}
forward R2nd(playerid);
public R2nd(playerid)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), MissPath, name);
return dini_Int(file, "Race2nd");
}
forward R3rd(playerid);
public R3rd(playerid)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
format(file, sizeof(file), MissPath, name);
return dini_Int(file, "Race3rd");
}