[Ajuda] Rapidao
#2

O problema nгo ta ai ele deve estar na parte que seta o dinheiro

@EDIT
Vocк ta atualizando os status do player?

faz isso:
pawn Код:
CallBack::SalvarPlayer ( playerid )
{
     PlayerInfo[playerid][pDinheiro] = 1000;
     new file [ 50 ] , mauricio [ MAX_PLAYER_NAME ] ;
     GetPlayerName ( playerid , mauricio , sizeof ( mauricio ) ) ;
     format ( file , sizeof ( file ) , DESUSER, mauricio ) ;
     if(!DOF2_FileExists(file)) DOF2_CreateFile(file);
     DOF2_SetInt(file, "Level", PlayerInfo [ playerid ] [ pLevel ] );
     DOF2_SetInt(file, "Dinheiro", PlayerInfo [ playerid ] [ pDinheiro ] );
     DOF2_SetInt ( file , "AdminLevel" , PlayerInfo [ playerid ] [ pAdmin ] );
     DOF2_SetInt ( file , "NumeroTelefone" , PlayerInfo [ playerid ] [ TelefoneNum ] );
     GetPlayerSkin(PlayerInfo[playerid][pSkin]);
     
     GetPlayerPos (playerid, PlayerInfo[playerid][PosX], PlayerInfo[playerid][PosY], PlayerInfo[playerid][PosZ]);
     DOF2_SetFloat(file, "PosX", PlayerInfo[playerid][PosX]);
     DOF2_SetFloat(file, "PosY", PlayerInfo[playerid][PosY]);
     DOF2_SetFloat(file, "PosZ", PlayerInfo[playerid][PosZ]);
     DOF2_SaveFile ( ) ;
     return 1;
}
Se funcionar o problema nгo ta ai mesmo.
Reply


Messages In This Thread
Rapidao - by mau.tito - 13.02.2013, 12:30
Re: Rapidao - by MatheusAlcapone - 13.02.2013, 13:22
Re: Rapidao - by mau.tito - 13.02.2013, 20:24
Re: Rapidao - by Jumper. - 13.02.2013, 20:31
Re: Rapidao - by mau.tito - 13.02.2013, 20:34
Re: Rapidao - by Jumper. - 13.02.2013, 20:35
Re: Rapidao - by Sky™ - 13.02.2013, 20:36
Re: Rapidao - by mau.tito - 13.02.2013, 20:41
Re: Rapidao - by Jumper. - 13.02.2013, 20:51
Re: Rapidao - by VenoN - 13.02.2013, 21:04

Forum Jump:


Users browsing this thread: 2 Guest(s)