Need help with scripting a /nameban command
#5

Thank you, its works but there is one little problem.;

I successfully compiled it, but I got an warning: 219: local variable "string" shadows a variable at a preceding level

after I typed /nameban Name reason - its ban the player and adds his name to the file samp-names.ban file, BUT its ban his IP too in the samp.ban file in my main folder.

Do you know how to make it ONLY name ban? For using as CK in a RP servers?

Thank you.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)