21.05.2016, 22:39
ou tente assim:
pawn Код:
// topo
new Float:PosCasa[3][MAX_PLAYERS];
// /entrarcasa
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
PosCasa[0][playerid] = Pos[0];
PosCasa[1][playerid] = Pos[1];
PosCasa[2][playerid] = Pos[2];
// /saircasa
SetPlayerPos(playerid, PosCasa[0][playerid], PosCasa[1][playerid], PosCasa[2][playerid]);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);