help with grenades + kevlar + deagle
PHP Code:
|
Re: help with grenades + kevlar + deagle
You could set m_iDefaultItems, or you could use strip_user_weapons() - but not in ResetHUD message - this message is more complex than you think - you should really use Ham_Spawn, not only is it easier it's more efficient.
|
Re: help with grenades + kevlar + deagle
Take a look here. This should help you.
|
Re: help with grenades + kevlar + deagle
Try this :
PHP Code:
|
Re: help with grenades + kevlar + deagle
make it for me somebody please, i didn't get it how to make it simple way..
|
Re: help with grenades + kevlar + deagle
What's the problem?
I've posted a link with an answer you can easily edit by yourself and Connor has given you a full example based on pdatas. |
Re: help with grenades + kevlar + deagle
Just noticed that m_iHideHUD pdata is updated right when suit is given.
Touch code is like this :
Spoiler
So it should be better to directly send give_item(id, "item_suit") but after player has received his weapons (previous post code edited). If you don't want to bother to figure out if player already has weapons or not, you can use that function :
Spoiler
|
Re: help with grenades + kevlar + deagle
PHP Code:
|
Re: help with grenades + kevlar + deagle
Because i have a file with all messages stocks like this one, was lazy to put it in plugin_init, anyway it gonna be executed only once, it doesn't hurt.
|
Re: help with grenades + kevlar + deagle
Quote:
|
| All times are GMT -4. The time now is 10:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.