Bombing only for admin
#6

Sorry, havent checked the topic for a while so I didnt see your question.
For things like this I addded the IsPlayerAllowedToDropBomb function at the very end of the script.

pawn Код:
IsPlayerAllowedToDropBomb(playerid)
{
        #pragma unused playerid
        // This is used to restrict the use of bombs for single players
        // For example to make them available for special teams only, ...
        // bptype[playerid] is the index of the selected bomb
        return 1;
}
So just change the
return 1;
to
return IsPlayerAdmin(playerid);

the rest is done by the script
Reply


Messages In This Thread
Bombing only for admin - by ludesert - 16.07.2011, 20:12
Re: Bombing only for admin - by SergiKirov - 16.07.2011, 20:43
Re : Bombing only for admin - by ludesert - 16.07.2011, 20:47
Re: Bombing only for admin - by Kush - 16.07.2011, 21:04
Re : Bombing only for admin - by ludesert - 16.07.2011, 21:06
Re: Bombing only for admin - by Mauzen - 16.07.2011, 21:32
Re : Bombing only for admin - by ludesert - 16.07.2011, 21:40
Re: Bombing only for admin - by Mauzen - 16.07.2011, 21:47
Re : Bombing only for admin - by ludesert - 16.07.2011, 21:49
Re : Bombing only for admin - by ludesert - 16.07.2011, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)