Adminship

Started by Finch, Apr 14, 2015, 09:36 AM

Previous topic - Next topic

Finch

Hello!

Today i was making adminship system when i join server and type /adminship name and reason its asay your appeal is gone but when i join again and type /adminship name and reason nothing happens then i check console that is error

adn then that is line

QuerySQL( sqliteDB, "INSERT INTO Adminship (Name, IP, Reason, Player) values ( '" + plr.Name + "', '" + plr.IP + "', '"+Reason+"', '"+player.Name+"' )" );
Beztone is a scripter but he is too stupid

EK.IceFlake

Now tell us the freaking code around it that involves "plr"!

Stormeus

( '" + plr.Name + "', '" + plr.IP + "', '"+Reason+"', '"+player.Name+"' )" );
Why are you mixing plr and player when plr doesn't even exist?

Finch

Thanks Problem Solve
Beztone is a scripter but he is too stupid