Alright well here's the problem. We have a custom interior when you enter you fall through the floor.
If I did createobject would it make it load automatically? Just the flooring on the interior.
Or is there a way when you do is /enter it'll freeze you inside where it puts you for like 3 seconds?
Код:
dcmd_enter(playerid, params[])
{
if (PlayerInfo[playerid][pLogged] == 0) return SendClientMessage(playerid,COLOR_SYSTEM ,"Not Logged In");
for(new i = 0; i < MAX_MARCUSISCUTE; i++) {
if(IsPlayerInRangeOfPoint(playerid, 2.0, Marcus[i][EnterX], Marcus[i][EnterY]+2, Marcus[i][EnterZ])) {
TogglePlayerControllable(playerid, 0);
SetTimerEx("Reset", 3000, 0, "i", playerid);
SetPlayerPos(playerid,Marcus[i][ExitX],Marcus[i][ExitY],Marcus[i][ExitZ]);
}
}
return 1;
}