Raised This Month: $ Target: $400
 0% 

Scripting Question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FoX Rider
Member
Join Date: Feb 2005
Location: AK
Old 02-21-2005 , 21:36   Scripting Question
Reply With Quote #1

I would like to make a plugin that can give weapons to players.

Code:
#include <amxmodx>
#include <fun>

public plugin_init() {
	register_plugin("Give-Weapon","1.00","FoX")
	register_clcmd("amx_giveweapon","giveweapon",ADMIN_LEVEL_A,"Gives client a weapon")
}

public giveweapon(id) {
Would I just have to add get_user_weapon(m4a1,4,90) and then compile it?

Yes, I'm a newb.
__________________
Ride for fox..Die for fox.
FoX Rider is offline
 


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:00.


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