03.07.2012, 15:48
ALGUEM ME AJUDA AE TIPOW SALVA NA score.ini mais quando o player entra reseta o score dele pq ?olha ae cуdigo :
EM OnFilterScriptInit()
OnPlayerConnect:
OnPlayerDisconnect:
OnFilterScriptExit():
ALGUEM ME AJUDA AE
EM OnFilterScriptInit()
Quote:
if(!fexist("score.ini")) dini_Create("score.ini"); |
Quote:
if(dini_Isset("score.ini",PlayerName(playerid))) |
Quote:
SetPlayerScore(playerid,dini_Int("score.ini",Playe rName(playerid))); |
Код:
dini_IntSet("score.ini",PlayerName(playerid),GetPlayerScore(playerid));
Код:
Score[i] = GetPlayerScore(i);