minigun
#4

Quote:
Originally Posted by Don Correlli
Use GetPlayerWeapon function at OnPlayerUpdate callback to check if player has a forbidden weapon in his hands, or just use GetPlayerWeaponData function to check for every weapon that player has in his slot and finally, use the Kick function to kick him from the server.
Use IsPlayerAdmin function to check if player is/isn't admin.
Sounds useful for me too, but i'm bothered about OnPlayerUpdate timing.. i mean, so often, there is another method to do this by simple check (I'll not say it, as it is for a popular server).
Reply


Messages In This Thread
minigun - by gozo12 - 09.04.2010, 18:22
Re: minigun - by Correlli - 09.04.2010, 18:30
Re: minigun - by gozo12 - 09.04.2010, 19:57
Re: minigun - by RSX - 09.04.2010, 20:02
Re: minigun - by Correlli - 09.04.2010, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)