Raised This Month: $ Target: $400
 0% 

Function on all


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-24-2011 , 13:25   Re: Function on all
Reply With Quote #3

Hey!

I made a code that is supposed to give all the CT players each round a defusal kit.

Still it is not working, tell me why?

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>

#define PLUGIN "Defuse Kit"
#define VERSION "1.0"
#define AUTHOR "p1Mp"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}

public 
round_start()
{
    new 
players[32], numid
    get_players
(playersnum"aeh""CT")
    for(new 
0numi++)
    {
        
id players[i]
        
give_item(id"item_thighpack")
    }

Diegorkable 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 23:31.


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