Code:
/* AMX Mod script.
*
* (c) 2004, Strake
* This file is provided as is (no warranties).
*/
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init(){
register_plugin("Ultimate Fun","1.0.0","Strake")
register_clcmd("amx_cheat", "cheat", ADMIN_MAP)
register_cvar("sv_admin_cheats", "1")
}
public cheat(id) {
new target[32]
read_argv(1,target,31)
new player = cmd_target(id, target, 31)
if (!player) return PLUGIN_HANDLED
// DO NOT EDIT ABOVE THIS LINE
// This is where the magic happens
set_user_godmode(player, 1)
set_user_maxspeed(player, 3.0)
set_user_armor(player, float:500)
set_user_health(player, float:500)
set_user_footsteps(player, 0)
return PLUGIN_HANDLED
}
Making this plugin for a friend, but when i was testing, i couldnt move
__________________