[PROBLEM] CMD
#7

Try this;

pawn Код:
CMD:sup(playerid, params[])
{
    if(GetPlayerState(playerid) == 1)
    {
         if(PlayerToPoint(5.0,playerid,242.7591,66.4315,1003.6406))
         {
                SetPlayerPos(playerid, 619.0756,-566.6477,26.1432);
                GameTextForPlayer(playerid, "~b~Sheriff Roof",5000,1);
                SetPlayerInterior(playerid,0);
                SetPlayerVirtualWorld(playerid,0);
            }
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You do not have access to this command.");
        return 1;
    }
}
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: 2 Guest(s)