View Single Post
EngHell
Member
Join Date: Jul 2013
Location: Guatemala
Old 01-28-2015 , 15:34   Re: how to restrict deagle on awp maps
Reply With Quote #10

Quote:
Originally Posted by LambdaLambda View Post
But problem with usage of "player_spawn" event is, so when you pick it up, then you can use it. It's not disappearing. But I know that some maps got their weapons spawned on the floor, so you're not spawning with it.
But if you create a cell holding the weapon
PHP Code:
new weapon GetPlayerWeaponSlot(client,1); 
then use it with
PHP Code:
RemovePlayerItem(clientweapon
and then
PHP Code:
RemoveEdict(weapon
It works great, but before you should do
PHP Code:
IsValidEdict(weapon

Last edited by EngHell; 01-28-2015 at 15:36.
EngHell is offline