Raised This Month: $ Target: $400
 0% 

[SOLVED]to give unlimited he grenade?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sabrioz
Senior Member
Join Date: Apr 2009
Old 08-22-2009 , 06:14   Re: HOW to give unlimited he grenade?
Reply With Quote #1

Quote:
Originally Posted by ot_207 View Post
You want the client to have his weapons or only the grenades?
i mean..
client have grenade only..

client must use HE grenade only
sabrioz is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-22-2009 , 06:17   Re: HOW to give unlimited he grenade?
Reply With Quote #2

Quote:
Originally Posted by sabrioz View Post
i mean..
client have grenade only..

client must use HE grenade only
No weapons, just HE?
If you want the user just to have He_Grenades then use this function ->
PHP Code:
#include <fakemeta> 
#include <fun> 

#define OFFSET_PRIMARYWEAPON        116 

public StripPlayerWeapons(id

    
strip_user_weapons(id
    
set_pdata_int(idOFFSET_PRIMARYWEAPON0

Before giving player grenades.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 08-22-2009 at 06:21.
ot_207 is offline
Reply



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