AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help restrict awp for some players (https://forums.alliedmods.net/showthread.php?t=64614)

Pamaliska 12-19-2007 11:15

Help restrict awp for some players
 
Hello
It is more of a request but I dare to post it here since I hope it would receive proper attention.
The thing I want to do is to just block, the way it is done in restmenu.amxx, buy of awps if player does not pass my bool check. I do not care about other methods because they were all covered in my code. I just want to do this block because I do not want nonVIP players to loose money when they buy awp. Just now I force them to drop the awps, and do not allow awps to be picked up by nonVIP players.
So various problems with buy and rebuy scrips should not be a problem as they all covered in my code. Just a simple way to block awps buy menu possitions for noVIP players. The bool is IsPlayerVip[id].
Thank you for your help.

P.S. Weapon ids are: CSW_AWP / CSW_G3SG1 / CSW_SG550


All times are GMT -4. The time now is 11:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.