10.11.2011, 20:29
Anyway.. I tried to make a /exit command from Jefferson Hotel..
the /enter one working.. but.. /exit.. dont seem to work..
anyway.. I'm using GF script..
BTW I KNOW ITS MISSED RETURN but i have more things under this...
the /enter one working.. but.. /exit.. dont seem to work..
anyway.. I'm using GF script..
Код:
if(strcmp(cmd, "/exit", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(1, playerid,2214.6133,-1150.4756,1025.7969)) // Jefferson Motel Exit { GameTextForPlayer(playerid, "~w~Type /exit to go out.", 5000, 1); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,2232.8140,-1159.8369,25.8906); }