how to restrict deagle on awp maps
how to restrict deagle on awp maps.
You may at some simple plugin, I'm just about thrown Deagle from these maps. |
Re: how to restrict deagle on awp maps
-OnPluginStart HookEvent "item_pickup"
-OnMapStart check it's prefix ("awp_"), save bool to the variable -On item_pickup check the weapon - kill entity if it is ..... (your weapon) |
Re: how to restrict deagle on awp maps
-OnPluginStart HookEvent "item_pickup"
But what if this item is already in your inventory after spawn? |
Re: how to restrict deagle on awp maps
exactly. After spawn. You get weapons, which means you pick them up once you get spawned.
Zaufaj, zadziała. ;) |
Re: how to restrict deagle on awp maps
The complete way would be hooking Spawn event on OnEntityCreated then killing the weapon there.
|
Re: how to restrict deagle on awp maps
Pointless.
|
Re: how to restrict deagle on awp maps
1 Attachment(s)
I have done this some weeks ago for my server, may it's not the best way idk, but it works very well ;D
|
Re: how to restrict deagle on awp maps
it looks like it works. Thank you.
|
Re: how to restrict deagle on awp maps
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.
|
Re: how to restrict deagle on awp maps
Quote:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 01:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.