Raised This Month: $ Target: $400
 0% 

[solved] How to hook round start/end


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
epix
Junior Member
Join Date: May 2011
Old 05-06-2011 , 15:03   [solved] How to hook round start/end
#1

Found some examples but they don't seem to work =/
Apparantly some people use HLTV msg for this?

PHP Code:
// Round start
register_event("HLTV""event_RoundStart""a""1=0""2=0")
// or
register_logevent("event_RoundStart",2,"1=Round_Start"


// Round end
register_logevent("event_RoundEnd",2,"1=Round_End")

// Test func
public event_RoundStart() {
    
server_print("Round started!")
}

public 
event_RoundEnd() {
    
server_print("Round ended!")

The functions are never called..
Does anyone have a solution for this? Is the above code even correct?

Last edited by epix; 05-06-2011 at 21:06.
epix is offline
 


Thread Tools
Display Modes

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:22.


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