Raised This Month: $ Target: $400
 0% 

devil where are you? come help me again


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Poison_Jay
Senior Member
Join Date: May 2004
Old 06-23-2004 , 21:45   devil where are you? come help me again
Reply With Quote #1

Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
    register_plugin("Shield War","1","Poison_Jay"); 
    register_event("CurWeapon","shield","be","1=1")
    register_cvar("amx_shieldwar","1");
    return PLUGIN_CONTINUE;
}

public shield(id) { 
	if(get_cvar_num("amx_shieldwar")==0)
		return PLUGIN_CONTINUE 
		public shield(id) { 
	if(get_cvar_num("amx_shieldwar")==1)
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")
		
}
This what i got when compiling....
Quote:
/home/users/amxmodx/tmp/phpZs98RB.sma(15) : warning 217: loose indentation
/home/users/amxmodx/tmp/phpZs98RB.sma(15) : error 029: invalid expression, assumed zero
/home/users/amxmodx/tmp/phpZs98RB.sma(15) : error 001: expected token: ";", but found "{"
/home/users/amxmodx/tmp/phpZs98RB.sma(17) : error 017: undefined symbol "give_item"
/home/users/amxmodx/tmp/phpZs98RB.sma(1 : warning 217: loose indentation
/home/users/amxmodx/tmp/phpZs98RB.sma(1 : error 017: undefined symbol "give_item"
/home/users/amxmodx/tmp/phpZs98RB.sma(19) : warning 217: loose indentation
/home/users/amxmodx/tmp/phpZs98RB.sma(19) : error 017: undefined symbol "give_item"
/home/users/amxmodx/tmp/phpZs98RB.sma(20) : error 017: undefined symbol "give_item"
/home/users/amxmodx/tmp/phpZs98RB.sma(21) : error 017: undefined symbol "give_item"
/home/users/amxmodx/tmp/phpZs98RB.sma(22) : error 017: undefined symbol "give_item"
/home/users/amxmodx/tmp/phpZs98RB.sma(23) : error 017: undefined symbol "give_item"
/home/users/amxmodx/tmp/phpZs98RB.sma(25) : error 001: expected token: "}", but found "-end of file-"

10 Errors.
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:47.


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