Raised This Month: $ Target: $400
 0% 

Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
omgitsme
Veteran Member
Join Date: Mar 2010
Old 08-03-2010 , 08:31   Re: Help
Reply With Quote #1

thanks, and what is wrong with this command
Code:
give_item(id, "weapon_he")
the whole code
Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1)
}

public fwHamPlayerSpawnPost(id)
if (is_user_alive(id))
{
    if (get_user_flags(id) & ADMIN_CHAT)
    strip_user_weapons(id)
    give_item(id, "weapon_knife")
    give_item(id, "weapon_he")
    give_item(id, "weapon_sg")
    give_item(id, "weapon_fb")
    give_item(id, "weapon_fb")
}
it does strip the weapons, and i do get a knife, and a bomb. but no grenades. wrong code, right?
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
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 00:08.


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