my plugin says i dont have access
I am new to small so im trying out simple plugs i made this plug in to make like a simple slay plug in
Code:
#include <amxmodx>Code:
client_cmd(uid,"user_kill")Code:
user_kill(uid) |
Not sure if this is it but I found this in amxmodx.inc.
Code:
Code:
|
Yeah, to make sur ei even compiled that exact code right now and same thing i type
die into console and it says [AMXX] No Acess i tried with username also die bone and it says same thing.. i cant figure it out. |
Well number one, you HAVE to include the username. You can't just type die in console and expect it to find the user! You have to enter the username or maybe even just PART of the username. For example:
die <--wrong die BillyBob <--- correct, would slay client named BillyBob die Billy <--- could be correct if there is only one person on server with Billy in their name would give error message if there was more than 1 Billy. Otherwise it would slay client BillyBob. Lol, my names are so creative :P |
i know that im just saying that if i didnt type username it would say i didnt have a username there woudlnt say no access, i tried the script u posted and its still giving me the error when i try use it it says
[AMXX] No Access hmmmm.. anyone help? |
Try to change things around. Change your command to amx_die or something.
|
lol are you using this straight off BAILOPAN's tutorial on his post?
if you are i was getting the same error b4, i looked into other plugins to see how they find users and its completely different Code:
try changing to: Code:
also take note that this was just taken from my plugin and fit to yours, so somethings might need a little changing funny how a noob helps a noob out also my indenting wasnt so good bcuz it was acting wierd and selecting other buttons when i pressed tab... :( :D :shock: :P sort of my sig with the smilies lol 8) |
Actually, it's off devicenull's tutorial.
|
| All times are GMT -4. The time now is 10:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.