OK...Ill do that in a few mins, but can someone help me with this??
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
#define PLUGIN "Unstopable"
#define VERSION "1.0"
#define AUTHOR "SweatyBanana"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("amx_unstoppable", "cmd_unstop")
register_clcmd("amx_stopme", "cmd_stop")
}
public cmd_unstop(id, level, cid)
{
if (!cmd_access(id, level, cid, 1)) //Check if they have the required admin to do it.
return PLUGIN_HANDLED
set_user_footsteps (id, 1) //Set Silent footsteps
cs_set_user_armor (id, 500, CsArmorType:2) //500AP helm&vest armor.
set_user_health(id, 500) //Set 500 HP
set_user_gravity (id, 0.25) //Set gravity to 200
set_user_maxspeed (id, -2.0) //Set maxspeed to fast
set_user_rendering(id,kRenderFxNone,0,0,0,kRenderTransAdd,0) //Set Invisible
}
public cmd_stop(id, level, cid)
{
if (!cmd_access(id, level, cid, 1)) //Check if they have the required admin to do it.
return PLUGIN_HANDLED
set_user_footsteps (id, 0) //Set regular footsteps
cs_set_user_armor (id, 100, CsArmorType:2) // Set regular armor
set_user_health(id, 100) // Set regular health
set_user_gravity (id, 1.0) //Set 800 gravity
set_user_maxspeed (id, 0.0) //Set regular speed
set_user_rendering(id,kRenderFxNone,0,0,0,kRenderNormal,25) //Set Visible
}