Raised This Month: $ Target: $400
 0% 

Kill Special Player, Round finish


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-07-2013 , 19:02   Re: Kill Special Player, Round finish
Reply With Quote #3

Thanks
Anyway iam having a problem with something else...
It doesnt set random bot...
PHP Code:
new Special_Bot[33]

public 
plugin_init()
{    
    
register_event("HLTV""event_new_round""a""1=0""2=0")
}

public 
event_new_round()
{
    
set_task(2.0"set_special_bot")
}

public 
set_special_bot()
{
    new 
players[32], count
    get_players
(playerscount"adh")

    if(
count)
    {
        new 
iPlayer players[random(count)]
        
Special_Bot[iPlayer] = true
        set_user_health
(iPlayer250)
    }

Edit:
Having this problem:
Error: Number of arguments does not match definition on line 233
Line: TerminateRound( RoundEndType_TeamExtermination, TeamWinning_Ct )
Do i need use orpheu?
__________________

Last edited by Jhob94; 06-07-2013 at 19:18.
Jhob94 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 16:24.


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