Raised This Month: $ Target: $400
 0% 

How to give more than 1 nades ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombieplague
Veteran Member
Join Date: Apr 2009
Old 06-27-2010 , 06:23   How to give more than 1 nades ?
Reply With Quote #1

PHP Code:
public zp_user_humanized_postid )
{
    if ( 
is_user_aliveid ) )
    {
        
give_itemid"weapon_hegrenade" )
        
give_itemid"weapon_hegrenade" )
    } 

i tried to give 2 grenade but only 1 was given
zombieplague is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 06-27-2010 , 06:25   Re: How to give more than 1 nades ?
Reply With Quote #2

Quote:
Originally Posted by zombieplague View Post
PHP Code:
public zp_user_humanized_postid )
{
    if ( 
is_user_aliveid ) )
    {
        
give_itemid"weapon_hegrenade" )
        
give_itemid"weapon_hegrenade" )
    } 

i tried to give 2 grenade but only 1 was given
maybe
Code:
give_item ( id, "weapon_hegrenade" ) cs_set_user_bpammo ( id, CSW_HEGRENADE, 2 )
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 06-27-2010 , 07:40   Re: How to give more than 1 nades ?
Reply With Quote #3

Quote:
Originally Posted by NiHiLaNTh View Post
maybe
Code:
PHP Code:
give_item id"weapon_hegrenade" 
cs_set_user_bpammo idCSW_HEGRENADE
Yep thats the way to do it.

Btw, next time use the SEARCH this thing has already been asked and answered.
vL. is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 06-27-2010 , 08:13   Re: How to give more than 1 nades ?
Reply With Quote #4

Quote:
Originally Posted by vL. View Post
Yep thats the way to do it.

Btw, next time use the SEARCH this thing has already been asked and answered.
yea and asked by me.so dont post you searched and found nothing
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 06-27-2010 , 08:45   Re: How to give more than 1 nades ?
Reply With Quote #5

Quote:
Originally Posted by One View Post
yea and asked by me.so dont post you searched and found nothing
Sorry but I didn't understand 90% of what you said, if I understood correctly you said that I haven't searched it.
Well I have and I know its there!

One of those topics is here: https://forums.alliedmods.net/showthread.php?t=127126

Last edited by vL.; 06-27-2010 at 08:50.
vL. is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-27-2010 , 07:22   Re: How to give more than 1 nades ?
Reply With Quote #6

AFAIK you can't without (or with) Orpheu module.
__________________
hleV is offline
Reply


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 14:48.


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