[Ajuda] Salvar VirtualWorld
#6

Quote:
Originally Posted by Lontresca
Посмотреть сообщение
Tenta assim

PHP код:
    new arquivo[40], name[MAX_PLAYER_NAME], MundoPlayer[MAX_PLAYERS];
    
GetPlayerName(playeridnamesizeof(name)); 
    
format(arquivo40,"Contas/%sInfos.ini",name); 
    
GetPlayerPos(playeridPosX,PosY,PosZ); 
    
GetPlayerFacingAngle(playeridPosA); 
    
MundoPlayer[playerid] = GetPlayerVirtualWorld(playerid); 
    if(
DOF2_FileExists(arquivo)){ 
    
DOF2_SetFloat(arquivo,"PosX",PosX); 
    
DOF2_SetFloat(arquivo,"PosY",PosY); 
    
DOF2_SetFloat(arquivo,"PosZ",PosZ); 
    
DOF2_SetFloat(arquivo,"PosA",PosA); 
    
DOF2_SetInt(arquivo"VirtualWorld"MundoPlayer[playerid]); 
Jб tinha feito isso , mesmo assim tentei denovo . Salvou tudo menos o MundoPlayer
Reply


Messages In This Thread
Salvar VirtualWorld[RESOLVIDO] - by Cauezin - 29.03.2018, 20:54
Re: Salvar VirtualWorld - by FerrariL - 29.03.2018, 20:58
Re: Salvar VirtualWorld - by Cauezin - 29.03.2018, 21:08
Re: Salvar VirtualWorld - by Lontresca - 29.03.2018, 21:16
Re: Salvar VirtualWorld - by FerrariL - 29.03.2018, 21:21
Re: Salvar VirtualWorld - by Cauezin - 29.03.2018, 21:22
Re: Salvar VirtualWorld - by Cauezin - 29.03.2018, 21:26
Re: Salvar VirtualWorld - by Lontresca - 29.03.2018, 21:31
Re: Salvar VirtualWorld - by Cauezin - 29.03.2018, 21:32
Re: Salvar VirtualWorld - by Lontresca - 29.03.2018, 21:40
Re: Salvar VirtualWorld - by [BOPE]Seu._.Madruga - 29.03.2018, 22:00
Re: Salvar VirtualWorld - by Cauezin - 29.03.2018, 22:10
Re: Salvar VirtualWorld - by Cauezin - 29.03.2018, 22:12
Re: Salvar VirtualWorld - by Cauezin - 30.03.2018, 02:30
Re: Salvar VirtualWorld - by Lontresca - 30.03.2018, 02:51

Forum Jump:


Users browsing this thread: 1 Guest(s)