#1

Okay the problem is that, when i type /exit anywhere its teleports me on the air. I know everyone gonna tell me to check the EXIT command but i check it and there are some coords so i can't fix it, i mean i will bug it more if i try so i need ur help
Quote:

CMD:exit(playerid, params[])
{
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, "Loading Objects.", 4000, 5);
SetPVarInt(playerid, "LoadingObjects", 1);
SetTimerEx("SafeLoadObjects", 4000, 0, "d", playerid);
SetPlayerPos(playerid, 319.554931, 312.155181, 999.148437);
return SendToExit(playerid);
}

Reply
#2

SetPlayerPos is likely setting the coordinates(specifically the z coordinate, 999) somewhere in the air, unless something else is being done in SendToExit.

I can't get in game right now to test, but you can /save while ingame(on any server) to get proper coordinates. Replace these coordinates with the ones you currently have, and it should work fine.

If this doesn't work, show your SendToExit function.
Reply
#3

Its for a Dynamic Doors, i mean its used for them /exit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)