Save New Ponto;
#1

Quote:
Originally Posted by epifanio
Hello, Iґm Brazilian and have Gang War Server . . .

i have one system to save score without login and I create one Point System and dont have save system to save points

Score Save System

[red]OnGameModeInit[/red]
Quote:

if(!fexist("scores.ini")) dini_Create("scores.ini");

[red]OnPlayerConnect[/red]
Quote:

if(dini_Isset("scores.ini",PlayerName(playerid))) SetPlayerScore(playerid,dini_Int("scores.ini",Play erName(playerid)));

[red]OnPlayerDisconnect[/red]
Quote:

dini_IntSet("scores.ini",PlayerName(playerid),GetP layerScore(playerid));

I need Save the points

Quote:

[blue]new[/blue] Ponto[MAX_PLAYERS];

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)