Raised This Month: $ Target: $400
 0% 

[SOLVED]to give unlimited he grenade?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
sabrioz
Senior Member
Join Date: Apr 2009
Old 08-21-2009 , 20:14   [SOLVED]to give unlimited he grenade?
Reply With Quote #1

hello i'm newbie in scriptng..

can you help me by showing the script that will give unlimited he grenade..

i have try try this script but it doesn't work..

PHP Code:
public giveheifnothas(id) {
    new 
nades cs_get_user_bpammo(idCSW_HEGRENADE)
    if (
nades == 0) {
        
give_item(id"weapon_hegrenade")
        
cs_set_user_bpammo(idCSW_HEGRENADENADEAMOUNT)
    }
    else if (
nades == 1) {
        
cs_set_user_bpammo(idCSW_HEGRENADENADEAMOUNT)
    }

    return 
PLUGIN_CONTINUE

i want the script that allow player to use HE grenade only..(unlimited grenade)

Last edited by sabrioz; 02-12-2010 at 08:19. Reason: Problem Solved
sabrioz 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 15:07.


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