Raised This Month: $ Target: $400
 0% 

[SOLVED]terminate round


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-11-2011 , 16:01   Re: terminate round
Reply With Quote #6

Quote:
Originally Posted by Arkshine View Post
Too much ? It's fine to use orpheu. Also, that's the most efficient way you could find.
hmmm...
i tought its just "too much" to use a module only for 1 line.
but when u mean its ok & the best/efficient way to do it, i will use it for sure.
anyways i tried it 2day before i open this thread and it didnt work. maybe you can check it here or i have to post it in other thread?!

PHP Code:
public Forward_TriggerMultipleTouch(iEntityid)
{
    static 
szModel[32]
    
entity_get_string(iEntityEV_SZ_modelszModel31)
    
    new 
target[32]
    
pev(iEntitypev_targetnametarget31)
    
    if(
is_user_alive(id) && !user_is_catcher[id] && equal(target"finish_round_fleer"))
    {
        switch(
cs_get_user_team(id))
        {
            case 
CS_TEAM_T:
            {
                
TerminateRound(RoundEndType_ObjectiveTeamWinning_Terrorist)
                
client_print(0,print_chat,"T WIN")
            }
            case 
CS_TEAM_CT:
            {
                
TerminateRound(RoundEndType_ObjectiveTeamWinning_Ct)
                
client_print(0,print_chat,"CT WIN")
            }
        }
    }

Quote:
Originally Posted by vato loco [GE-S] View Post
i would like to use orpheu...
maybe in the future when
my scripting knowledge become better...
i hope
its my firsttime with orpheu :-P i think its easy to learn ( but complicated ) ^^
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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 20:04.


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