16.07.2011, 21:32
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.
So just change the
return 1;
to
return IsPlayerAdmin(playerid);
the rest is done by the script
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;
}
return 1;
to
return IsPlayerAdmin(playerid);
the rest is done by the script
