[Ajuda] Salvar dados do Player
#2

Ponha isto na sua public de salvamento
pawn Code:
format(var, 32, "carteira=%d\n",PlayerInfo[playerid][cateira]);fwrite(hFile, var);
e na public de carregar os dados do player
pawn Code:
if( strcmp( key , "carteira" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][carteira] = strval( val ); }
Reply


Messages In This Thread
Salvar dados do Player - by #Luca[S]. - 23.06.2014, 05:12
Re: Salvar dados do Player - by unamed - 23.06.2014, 07:53
Re: Salvar dados do Player - by #Luca[S]. - 23.06.2014, 09:13
Re: Salvar dados do Player - by TioSlash - 23.06.2014, 10:04
Re: Salvar dados do Player - by #Luca[S]. - 23.06.2014, 11:23
Re: Salvar dados do Player - by TioSlash - 23.06.2014, 11:24

Forum Jump:


Users browsing this thread: 3 Guest(s)