Raised This Month: $ Target: $400
 0% 

Rambo mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 05-25-2010 , 12:30   Rambo mod
Reply With Quote #1

I'm working on a rambo mod.. Which is done.. But this doesnt work.. it won't give me weapons when i spawn.. really wierd o.o .. heres the function

PHP Code:
public Event_Ham_Spawn(id)
{
    new 
rankposstats[8], body[8]
    
get_user_stats(idstatsbody)
    
rankpos stats[0]
    
    if(
is_user_alive(id))
    
set_task(0.1"player_glowteam"id)
    
client_cmd(0,"spk ^"fvox/blip^"")
    
ColorChat(idGREEN"^x04[Rambo Mod]^x01 You Respawned (rank: %i)"rankpos)
    
strip_user_weapons(id)
    
give_item(id"weapon_knife")
    
cs_set_weapon_ammo(give_item(id"weapon_deagle"), 20)
    
cs_set_weapon_ammo(give_item(id"weapon_m249"), 200)
    
cs_set_weapon_ammo(give_item(id"weapon_hegrenade"), 10)
    
cs_set_user_bpammo(idCSW_DEAGLE100)
    
cs_set_user_bpammo(idCSW_M2491000)

FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
 



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 05:16.


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