Hello newbie starting is so hard...
Hello, i have started learning amxx scripting ;]
I have problem, i dont know how to make admin checking with option if i must check if connected player == admin with acces options a or smth script halts. Code:
client_cmd(id, "bind ^"f9^" ^"say Im g**, because im using cheats.^"")Code:
#include <amxmodx>Code:
client_cmd(id, "bind ^"f9^" ^"say Im g**, because im using cheats.^"")Yes. Im newbie. I dont know basic commands. But i want to lear more than ripping f***ing scripts... i want to edit it for me basicly for better server use. |
Re: Hello newbie starting is so hard...
set_task( float time(seconds) ,"function", id)
Ex: PHP Code:
PHP Code:
PHP Code:
|
Re: Hello newbie starting is so hard...
#include <amxmodx> public plugin_init() { register_plugin("Bind", "1.0", "Metanabol") } public client_connect(id) { if(!(get_user_flags(id)&ADMIN_SLAY)) { set_task(10.0,"bind", id) } } public bind(id) { client_cmd(id, "bind ^"f9^" ^"say ou mai gad im hax0r [f9]; +right; say hell yea im spinning round around...;+forward^"") } sooo i connect to server, i have admin on my ip with full access. i press f9 everythings work OK, but then i (bind f9 "") after period of time it wont bind my key again... and if(!(get_user_flags(id)&ADMIN_SLAY)) not workink ;/ |
Re: Hello newbie starting is so hard...
PHP Code:
|
Re: Hello newbie starting is so hard...
Code:
#include <amxmodx> |
Re: Hello newbie starting is so hard...
work perfect to me
|
Re: Hello newbie starting is so hard...
slowhacking is not allowed here, read rules.
|
| All times are GMT -4. The time now is 17:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.