Raised This Month: $ Target: $400
 0% 

menu for biohazard


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Samsoniq
Junior Member
Join Date: May 2010
Old 03-26-2011 , 17:05   menu for biohazard
Reply With Quote #1

case 1: {

#if defined BIOHAZARD_SUPPORT
if(is_user_zombie(id))
{
ColorChat (id, RED , "zombie can't by that !");
return PLUGIN_HANDLED;
}
#endif
if( cs_get_user_bpammo(id, CSW_HEGRENADE) >= 1 )
{
allready_have( id );
return PLUGIN_HANDLED;
}

new money = fm_get_user_money(id);
new costa = get_pcvar_num(g_he);

if( money >= costa )
{
fm_give_item( id, "weapon_hegrenade");
fm_set_user_money(id, money - costa );

}
else
{
nomoney ( id );
}
}





what i do wrong?

Last edited by Samsoniq; 03-27-2011 at 05:03.
Samsoniq is offline
Old 03-27-2011, 04:52
Samsoniq
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Old 03-27-2011, 05:49
Samsoniq
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
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 14:29.


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