hey im tryna set gravity, remove footsteps and set speed of the person that types /undead im not worried about the clcmd atm i just need to make sure this compiles. the current script i got is
Code:
public undead(id)
{
if(!is_user_alive(id))
return PLUGIN_CONTINUE;
ts_set_speed(id, 300.0);
set_user_footsteps(id, 0);
set_user_gravity(id, 200);
return PLUGIN_CONTINUE;
}
i try compile and i get
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// undead.sma
// C:\scripting\undead.sma(5) : warning 217: loose indentation
// C:\scripting\undead.sma(5) : error 088: number of arguments does no
t match definition
// C:\scripting\undead.sma(7) : warning 213: tag mismatch
//
// 1 Error.
// Could not locate output file compiled\undead.amx (compile failed).
//
// Compilation Time: 2.61 sec
// ----------------------------------------
Press enter to exit ...
any ideas please ??