Need Help With Admin Cmds
#3

pawn Код:
if(strcmp(cmd, "/adminjetpack", true) == 0)
    {
        if(!IsPlayerAdmin(playerid)) return 0;
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        CreatePickup(370, 3, X, Y, Z);
        SendClientMessage(playerid, COLOR_GREEN, "Jet Pack Created.");
        return 1;
    }
@ Naruto:
If the player is admin return the message?
Check the signs! (:
Reply


Messages In This Thread
Need Help With Admin Cmds - by Salsa - 28.09.2011, 16:32
Re : Need Help With Admin Cmds - by Naruto_Emilio - 28.09.2011, 16:34
Re: Need Help With Admin Cmds - by FireCat - 28.09.2011, 16:34
Re: Need Help With Admin Cmds - by Salsa - 28.09.2011, 16:46
Re : Need Help With Admin Cmds - by Naruto_Emilio - 28.09.2011, 16:48
Re: Need Help With Admin Cmds - by [L3th4l] - 28.09.2011, 16:50
Re: Need Help With Admin Cmds - by Kingunit - 28.09.2011, 16:51
Re : Re: Need Help With Admin Cmds - by Naruto_Emilio - 28.09.2011, 16:55
Re: Re : Re: Need Help With Admin Cmds - by Kingunit - 28.09.2011, 16:59
Re: Re : Re: Need Help With Admin Cmds - by FireCat - 28.09.2011, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)