26.12.2012, 12:38
1. In need advice: Can "RemoveBuilding"'s make lagg on my server so much ?
2. Need HELP!
My "Playing Minutes don't working right!
enum
onplayerspawn
loaduserdata
onplayerregister
onplayerlogout
stats!
2. Need HELP!
My "Playing Minutes don't working right!
enum
Код:
Minute,
Код:
format(string, sizeof(string), "*Tvoji statsi: Minuta online: [%d]",PlayerInfo[playerid][Minute]);
Код:
INI_Int("Minute", PlayerInfo[playerid][Minute]);
Код:
funkcija Online(playerid) { if(IsPlayerConnected(playerid)) { PlayerInfo[playerid][Minute] = PlayerInfo[playerid][Minute] + 1; } return 1; }
Код:
INI_WriteInt(playerFile, "Minute", 0);
Код:
PlayerInfo[playerid][Minute] = 0;
Код:
INI_WriteInt(playerFile, "Minute", PlayerInfo[playerid][Minute]);
Код:
new pla = PlayerInfo[targetid][Minute];