Raised This Month: $ Target: $400
 0% 

My Script Won't Compile


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Poison_Jay
Senior Member
Join Date: May 2004
Old 06-24-2004 , 10:01   My Script Won't Compile
Reply With Quote #1

shieldwar.sma
Code:
/* AMXX Mod script. * * Shield War * Version Beta 1 * By: Poison_Jay * Special Thanks: Peli, Kingpin * * MSN: <a href="mailto:[email protected]">[email protected]</a> * * Commands: amx_shieldwar 1|0 * * Discription: All Players Spawn With Shield + Deagle */ #define TIME 5.0 #include <amxmodx> #include <fun> public plugin_init() {     register_plugin("Shield War","1","Poison_Jay");     register_event("CurWeapon","shield","be","1=1")     register_cvar("amx_shieldwar","1")     register_concmd("amx_shieldwar","amx_shieldwar",ADMIN_LEVEL_B","1 = On 2 = Off") } public shield(id) {     if(get_cvar_num("amx_shieldwar")==0)            return PLUGIN_CONTINUE                   if(get_cvar_num("amx_shieldwar")==1) {         set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, TIME, 0.5, 1.5, 4 )         show_hudmessage(0, "ShieldWar mode has been enabled")         new clip, ammo         new usersweapon = get_user_weapon(id,clip,ammo)         client_cmd(id, "drop")         if(usersweapon==CSW_SHIELD) {             //nothing         }         if(usersweapon==CSW_DEAGLE) {         give_item(id,"ammo_50ae")         } else {         set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, TIME, 0.5, 1.5, 4 )         show_hudmessage(0, "ShieldWar mode has been enabled"         give_item(id,"weapon_shield")         give_item(id,"weapon_deagle")         give_item(id,"ammo_50ae")         give_item(id,"ammo_50ae")         give_item(id,"ammo_50ae")         give_item(id,"ammo_50ae")         give_item(id,"ammo_50ae")          set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, TIME, 0.5, 1.5, 4 )          show_hudmessage(0, "ShieldWar mode has been enabled")     }     return PLUGIN_HANDLED }

shieldwar.amx using web compiler



there was nothing in it! i was like wtf?![/small]
Poison_Jay is offline
Send a message via MSN to Poison_Jay
 



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


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