Admin Only
#1

Hey guys!

I'm just wondering how to make this:
Код:
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp("/startevent", cmdtext, true))
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                PlayerPlaySound(i,1057,0.0,0.0,0.0);
                GivePlayerWeapon(i,31,350);
                GivePlayerWeapon(i,24,350);
                GivePlayerWeapon(i,26,350);
                GivePlayerWeapon(i,27,350);
            }
        }
        return 1;
    }
    return 0;
}
Into an Admin Level 2+ ONLY command?

Thanks guys!
Reply


Messages In This Thread
Admin Only - by SampStunta - 13.09.2010, 23:21
Re: Admin Only - by Snipa - 13.09.2010, 23:27
Re: Admin Only - by Kevin_Joshen - 13.09.2010, 23:30
Re: Admin Only - by SampStunta - 13.09.2010, 23:35
Re: Admin Only - by CuervO - 14.09.2010, 03:50
Re: Admin Only - by SampStunta - 14.09.2010, 08:31

Forum Jump:


Users browsing this thread: 1 Guest(s)