Raised This Month: $ Target: $400
 0% 

What is wrong here???


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
joecaprini
Junior Member
Join Date: Jul 2004
Location: In a blackhole
Old 07-12-2004 , 18:17   FIXED IT!!!
Reply With Quote #3

I had to put a return PLUGIN_HANDLED in there. Now it compiled

/*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){
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")
}
return PLUGIN_HANDLED
}

public ammo(id){

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



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