Raised This Month: $ Target: $400
 0% 

Solved cmdaccess not registering


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
blAck.
Member
Join Date: Jun 2018
Old 07-19-2018 , 14:49   cmdaccess not registering
Reply With Quote #1

my commands won't register in cmdaccess, why?

Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

public plugin_init() {
	
	register_clcmd("say /ultra", "ultra_heal");
}

public ultra_heal(id, level, cid)
{
	if(!cmd_access(id, level, cid, 2))
		return 1;
		
	set_user_health(id, 150)
	return PLUGIN_HANDLED
}

Last edited by blAck.; 08-05-2018 at 14:01.
blAck. is offline
 


Thread Tools
Display Modes

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 12:17.


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