View Single Post
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 02-12-2019 , 14:20   Re: Invicible in seconds with server bind
Reply With Quote #4

Quote:
Originally Posted by ^SmileY View Post
Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fun>

public plugin_init()
{
	register_plugin("GOD Mode","0.1","SmileY");

	register_impulse(100,"FlashLight");
}

public FlashLight(id,impulse)
{
	if(access(id,ADMIN_LEVEL_H))
	{
		new Status = get_user_godmode(id);
		
		set_user_godmode(id,Status ? 0 : 1);
		
		client_print(id,print_chat,"[AMXX] God Mode %s. Press 'F' again to change...",Status ? "OFF" : "ON"); 
	}
	
	return PLUGIN_CONTINUE;
}
NOT Tested
so can u pls help? i want it to be an available command in like every 60 seconds and the power lasts 3 seconds
HowToRuski is offline