Quote:
Originally Posted by Lorenc_
pawn Код:
new clanquery[300]; format(clanquery, sizeof(clanquery), "UPDATE clans SET clanmotd = '%s' WHERE clanname = '%s'", new_motd, GetPlayerClan(playerid));
There are so many things you need to optimize.
pawn Код:
ChangeClanMOTD(playerid, "DROP TABLE clans;");
Probably exploitable like that, make protection against SQL injections too.
I might create a improved version soon, when I have the time.
|
Oh, havent thought about that! Thanks for reminding!