[PROBLEM] CMD
#9

Quote:
Originally Posted by Jhero
Посмотреть сообщение
Try this;

pawn Код:
CMD:sup(playerid, params[])
{ // 1
    if(GetPlayerState(playerid) == 1)
    { // 2
         if(PlayerToPoint(5.0,playerid,242.7591,66.4315,1003.6406))
         { // 3
                SetPlayerPos(playerid, 619.0756,-566.6477,26.1432);
                GameTextForPlayer(playerid, "~b~Sheriff Roof",5000,1);
                SetPlayerInterior(playerid,0);
                SetPlayerVirtualWorld(playerid,0);
            } // 1
        } // 2
    } // 3
    else
    { // 4 - this is outside of the actual command
        SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You do not have access to this command.");
        return 1;
    } // 4 - this is outside of the actual command
}
As you can see above that doesn't seem to even work at all just by the looks of it.
Reply


Messages In This Thread
[PROBLEM] CMD - by N0FeaR - 11.06.2012, 12:23
AW: [PROBLEM] CMD - by Extremo - 11.06.2012, 12:25
Re: [PROBLEM] CMD - by Black Axe - 11.06.2012, 12:25
Re: [PROBLEM] CMD - by zombieking - 11.06.2012, 12:26
Re: [PROBLEM] CMD - by N0FeaR - 11.06.2012, 12:26
Re: [PROBLEM] CMD - by N0FeaR - 11.06.2012, 12:29
Re: [PROBLEM] CMD - by Jhero - 11.06.2012, 12:31
Re: [PROBLEM] CMD - by zombieking - 11.06.2012, 12:31
AW: Re: [PROBLEM] CMD - by Extremo - 11.06.2012, 12:32
Re: [PROBLEM] CMD - by zombieking - 11.06.2012, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)