Raised This Month: $ Target: $400
 0% 

[SOLVED]Problem with Ham


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 08-10-2013 , 02:39   [SOLVED]Problem with Ham
Reply With Quote #1

I'm trying to give all T C4 everytime they spawn using Ham_Spawn but it seems don't work at all, what's wrong? Also when all the T have C4, their C4 don't show on their back?

PHP Code:
public plugin_init()
{
    
register_clcmd("say /c4""give_c4")

PHP Code:
public give_c4(id)
{
    new 
players[32], playersnum
    get_players
(playersplayersnum"e""TERRORIST")
    
    new 
i
    
for (playersnum ; ++i)
    {
        new 
players[i]
        if (
is_user_alive(x))
        {
            
give_item(x"weapon_c4")
            
cs_set_user_plant(x11)
        }
    }

EDIT: SOLVED

Last edited by Randomize; 08-10-2013 at 03:20. Reason: EDIT
Randomize 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 15:50.


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