29.03.2018, 21:16
Tenta assim
PHP код:
new arquivo[40], name[MAX_PLAYER_NAME], MundoPlayer[MAX_PLAYERS];
GetPlayerName(playerid, name, sizeof(name));
format(arquivo, 40,"Contas/%sInfos.ini",name);
GetPlayerPos(playerid, PosX,PosY,PosZ);
GetPlayerFacingAngle(playerid, PosA);
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]);