Plugin autokick players with the nick "Player"
Hi all,
I try to create a plugin that will automatically kick players with the nickname "player" or "Player" but I have a little problem with the script ... Actually I started with programming Amx .. Can someone help me? Here is the script : PHP Code:
|
Re: Plugin autokick players with the nick "Player"
Code:
|
Re: Plugin autokick players with the nick "Player"
Name is a string, not an integer.
|
Re: Plugin autokick players with the nick "Player"
oki tyvm for your help
|
Re: Plugin autokick players with the nick "Player"
Now I have a file that contains all of the nickname and I want to make a loop of this type
This is correct? PHP Code:
|
Re: Plugin autokick players with the nick "Player"
You don't understand what each function does it seems... and you didn't apply any logic either, where is the array actually assigned to the contents of the file ?
http://www.amxmodx.org/funcwiki.php < start here, all natives and stocks available are listed and briefly explained there... start by inputing register_dictionary to see what it actually does (which is nothing related to your needs). For file reading functions there are tutorials you know, it wouldn't hurt to read them instead of blindly trying out stuff :P |
| All times are GMT -4. The time now is 03:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.