Raised This Month: $ Target: $400
 0% 

Round over problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 02-06-2010 , 07:42   Round over problem
Reply With Quote #1

Hello folks, i ran out of luck again.
I've finished my private jailbreak plugin. But my method with HLTV:
PHP Code:
register_event("HLTV""event_new_round""a""1=0""2=0"); 
seem to only work in non-jailbreak servers. Becouse jailbreak uses custom messages code:
PHP Code:
public message_TextMsg( const MsgId, const MsgDest, const MsgEntity )
{    
    static 
message[32]
    
get_msg_arg_string(2messagecharsmax(message))
    
    if(
equal(message"#Terrorists_Win"))
    {
        
set_msg_arg_string(2"Villains(idk ppl in jail) win!")
    }
    else if(
equal(message"#CTs_Win"))
    {
        
set_msg_arg_string(2"Prison guards win!")
    }

Ive translated the messages sent, but i believe they dont actually matter.
So how shall i get my event_new_round, with these messages? :/
I've tired this:
PHP Code:
register_event("HLTV""event_new_round_ct""a""#CTs_Win""2=0")
register_event("HLTV""event_new_round_t""a""#Terrorists_Win""2=0"
Since i dont have a clue how the hltv gets it, please help me!
Lure.d is offline
Send a message via Skype™ to Lure.d
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-06-2010 , 08:16   Re: Round over problem
Reply With Quote #2

#Terrorists_Win and #CTs_Win has nothing to do with HLTV event.
__________________
Arkshine is offline
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 02-06-2010 , 08:34   Re: Round over problem
Reply With Quote #3

blah, got over with this problem. In this case i used hamsandwich, and on player spawn did my stuff like it should be. Anyways thanks for letting me know that hltv has nothing to do with it
Lure.d is offline
Send a message via Skype™ to Lure.d
Reply



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 07:26.


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