event_sound_start
how i can give every admin that have Ban access every round a m4a1 ?
Sorry for my english xDDD |
Re: event_sound_start
Hook Ham_Spawn in post, check if player is alive, then the player's flags, and finally give him a weapon with give_item().
|
Re: event_sound_start
okey, finally i dont want to give weapon i want to give Bazooka..
I'm using Ham_Spawn, check if player is alive & if he is admin some rounds my admins got bazooka but sometimes they dont get whats the bug? |
Re: event_sound_start
Don't know, you don't show the code nor giving any informations.
|
Re: event_sound_start
Code:
RegisterHam(Ham_Spawn, "player", "Admin_bazooka", 1)Code:
public Admin_bazooka(Player) |
Re: event_sound_start
anyone?
|
Re: event_sound_start
Where does the "i" come from?
|
Re: event_sound_start
Does that even compile ? Replace all "i" variables with "Player" or the other way around, your call.
And next time try to follow the compiler's warnings and errors. |
Re: event_sound_start
Quote:
|
Re: event_sound_start
Code always works as it should... the problem is that you didn't make it work as you want.
Try to compile the code already... make sure there are no errors or warnings... and then check the if's and variables in the function... remove them if you think some of them *might* not work (like zp_get_user_zombie() ) |
| All times are GMT -4. The time now is 07:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.