/exit help
#8

Quote:
Originally Posted by aRoach
Посмотреть сообщение
Try this :
pawn Код:
if(strcmp("/exit", cmdtext, true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(IsPlayerInRangeOfPoint(playerid,3.0, 246.783996,63.900199,1003.640625))  // change X Y Z coords
        {
            SetPlayerPos(playerid, -217.7940,979.1616,19.5038); // change X Y Z coords
        }
        else  SendClientMessage(playerid, 0x33CCFFAA, "You need to be near the entrance to exit!");
    }
    return 1;
}
Quote:
Originally Posted by jamesbond007
Посмотреть сообщение
dont forget to set SetPlayerInterior(playerid, 0); on exit ^^
Tried - Doesn't work
Reply


Messages In This Thread
/exit help - by needhack - 05.10.2011, 16:31
Re: /exit help - by aRoach - 05.10.2011, 16:33
Re: /exit help - by needhack - 05.10.2011, 16:34
Re: /exit help - by Kingunit - 05.10.2011, 16:35
Re: /exit help - by aRoach - 05.10.2011, 16:37
Re: /exit help - by needhack - 05.10.2011, 16:37
Re: /exit help - by jamesbond007 - 05.10.2011, 16:43
Re: /exit help - by needhack - 05.10.2011, 16:46
Re: /exit help - by jamesbond007 - 05.10.2011, 16:48
Re: /exit help - by needhack - 05.10.2011, 16:55

Forum Jump:


Users browsing this thread: 2 Guest(s)