Having Trouble Kicking or Banning Player
Can anyone see anything inherently wrong with the following code:
Code:
kick_player(id, reasonMatch[])Could it be because I have immunity? <moments later> Just tested that theory. I took my immunity off but it still wouldn't kick myself. |
Post the whole code, also in [SMALL] tags. =)
|
I did what you asked but then just now deleted it. The code was working. I had an unwitting player test it for me. It both kicks and bans. It just doesn't do so for admins.
So... Does banid or kick or amx_kick not work on admins? |
Code:
Code:
|
v3x, I'm not following why you posted that. Are you implying that if I call cmd_target, I'd be able to kick, amx_kick, or banid admins if the proper flags are set?
|
don't use amx_kick. use kick. amx_kick has immunity checks.
Quote:
Quote:
|
| All times are GMT -4. The time now is 16:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.