25.06.2013, 11:02
Hi, i need help, i want to read from all online and OFFLINE players this "PlayerInfo[playerid][pCS_Kills];" and i don't know how to do that...can i get example? tnx
if(IsPlayerConnected(playerid))
{
INI_ParseFile(YourPathHere, "Load_%s", .bExtra = true, .extra = playerid);
}
else continue;
forward Load_data(playerid,name[],value[]);
public Load_data(playerid,name[],value[])
{
INI_Int("Kills",pInfo[playerid][your kills]);
return 1;
}
|
maybe you can try that
Код:
if(IsPlayerConnected(playerid))
{
INI_ParseFile(YourPathHere, "Load_%s", .bExtra = true, .extra = playerid);
}
else continue;
Код:
forward Load_data(playerid,name[],value[]);
public Load_data(playerid,name[],value[])
{
INI_Int("Kills",pInfo[playerid][your kills]);
return 1;
}
|