ban

Started by Cool, Feb 10, 2016, 07:00 PM

Previous topic - Next topic

Cool

Code Removed

Thijn

A timer cannot pass an instance. So use player.ID and FindPlayer.

Cool

giving error Name does not exists when is in red colour
    local query = QuerySQL( sqliteDB, "SELECT * FROM Banned WHERE ban_nick='" + player.Name] + "' COLLATE NOCASE" ), Ip = player.IP.tostring();

MatheuS

player.Name]
to

player.Name
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

Cool


Stormeus

Did you remember to use FindPlayer after passing the ID?

Cool

#6
Removed

Cool

#7
I ADDED IN playerjoin already but now the prob is that i ban myself when i rejoin i am unbanned why
and in db ban list i am banned but i can join

Cool

please someone help

FarisDon

#9
Quote from: Hercules on Feb 11, 2016, 11:58 AMplease someone help
function Banned( player ) to function Banned( p )Well, the mistake is that You are using an undefined variable which is actually "p"
It doesn't exist.
local player = FindPlayer(p); you can see mistake over here :)
P.S: - And please don't be a noob, post error if you get.

Cool

i didnt notice that and thankyou very much and next i will post screenshot thanks