Raised This Month: $ Target: $400
 0% 

Bomb Transfer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-06-2011 , 02:05   Re: Bomb Transfer
Reply With Quote #4

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).
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 05-06-2011 at 02:20.
ConnorMcLeod is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode