Raised This Month: $ Target: $400
 0% 

What is wrong here???


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
joecaprini
Junior Member
Join Date: Jul 2004
Location: In a blackhole
Old 07-12-2004 , 17:40   What is wrong here???
Reply With Quote #1

Yes, Im sort of new to this whole scripting thing. But, if you could, plz tell me what is wrong.

/*AMX MOD X SCRIPT
*
*AWP DOGWAR
*
*This script makes everyone use a awp and ammo
*
*Version 1.0
*
*Created by IseeOWNEDpeople AKA JoeCaprini
*/
#include <amxmodx>
#include <amxmisc>
]#include <fun>

public plugin_init(){
register_plugin("AWP DOGWAR","1.0","IseeOWNEDpeople")
register_concmd("amx_awpwar","doggystyle",ADM IN_IMMUNITY,"1 = On 2 = Off")
register_cvar("amx_awpwar","1")
register_clcmd("ammo","outofmo",-1,": Gives you more ammo")
}

public doggystyle(id){
if(get_cvar_num("amx_awpwar") == 0){
return PLUGIN_HANDLED
}

if(get_cvar_num("amx_awpwar") == 1){
new clip, ammo
new usersweapon = get_user_ammo(id,clip,ammo)

client_cmd(id, "drop")

give_item(id,weapon_awp)
give_item(id,ammo_338magnum)
give_item(id,ammo_338magnum)
give_item(id,ammo_338magnum)
}

client_print(0,print_chat,"[AWPFIGHT] AWP FIGHT IS ON")
}

public ammo(id){
new clip, ammo
new usersweapon = get_user_ammo(id,clip,ammo)

give_item(id,ammo_338magnum)
give_item(id,ammo_338magnum)
}
__________________
-JOECAPRINI-
joecaprini is offline
Send a message via AIM to joecaprini
 


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


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