Help needed ...
#1

Hi,


How to denied players to use some weapons


Thanks in advance
Reply
#2

pawn Код:
if(GetPlayerWeapon(playerid) == YOUR_DENIED_WEAPON) return Kick(playerid);
Reply
#3

thanks man, but in what section i need to copy this
OnPlayerSpawn? Or somewhere else ? becouse i want that if player choose night vision it would be kicked with reason...
Reply
#4

Quote:
Originally Posted by martynas
Посмотреть сообщение
thanks man, but in what section i need to copy this
OnPlayerSpawn? Or somewhere else ? becouse i want that if player choose night vision it would be kicked with reason...
OnPlayerKeyStateChange Might be a good one but it won't be as accurate as OnPlayerUpdate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)