Bomb Transfer
I found
PHP Code:
any one know if this works still? or a better way maybe http://forums.alliedmods.net/showthr...highlight=bomb It's a bool I know just dont get how to use it stock is below PHP Code:
i was blocking touch.. HAHAHAHAHAHHAHAHA DONT JUDGE ME! |
Re: Bomb Transfer
Or just call cs function GiveC4 with orpheu, it will give c4 to next available player ;)
|
Re: Bomb Transfer
Quote:
I havent run across it yet but should i use Is_Player if i am selecting a player at round start since is_user_alive isnt always true at the time that the event fires? |
Re: Bomb Transfer
If you use HLTV event as new round detection, then only surviving players are alive.
Players are spawned the same frame, but after this event. Also, some players may be in Appearence Menu Selection and in that case they won't be respawned. IsPlayer won't help on this i think because it always returning true on players. If you can wait untill RoundStart, there you are granted that all players have been respawned. If you really want to do this at new round, you can hook CHalfLifeMultiplay::RestartRound POST with orpheu. If you don't want to use orpheu, you can register FM_StartFrame at HLTV event, and when it is triggered unregister it and execute your code (this method is used in invisibility armouries plugin by VEN). |
| All times are GMT -4. The time now is 04:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.