19.05.2013, 07:52
so I made if saving,loading look if im in interior I fall from sky..i don't know how to do look if player relogs in interior he falls when spawns..
PHP код:
SetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]);
GetPlayerVirtualWorld(playerid);
GetPlayerInterior(playerid);
SetPlayerInterior(playerid, GetPlayerInterior(playerid));
SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(playerid));