Bomb help
Is there a way to locate who has the bomb and strip it from him??
|
Re: Bomb help
I'd do something like this to find the right player, not sure how to make him drop it.
Code:
(Not tested) |
Re: Bomb help
If you use orpheu, i think i have seen some usefull function to retrieve either bomb either bomb carrier.
Method above seems fine though. EDIT : Excepted flags wrong usage... PHP Code:
Then, do: engclient_cmd(player, "drop", "weapon_c4") |
Re: Bomb help
I do use orpheu however codeing with it is confusing lol..
And small typo on yours iPlayers[i] should be iPlayers[iNum] :) PHP Code:
|
Re: Bomb help
Don't forget to break/end the loop ;)
orpheu would let you do something like this : Code:
if( (bomber = IsThereABomber()) ) |
| All times are GMT -4. The time now is 04:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.