Posts: 204
Threads: 28
Joined: Apr 2016
Quote:
Originally Posted by X337
Код:
mysql_format(db_info, query, sizeof(query), "UPDATE players SET noticetext = '%e' WHERE pid = %i", params, GetPlayerDBId(playerid));
you have to enclose string with ' or "
and also, use %e instead of %s if the string can be inputted by player to escape string
|
Worked, thanks a lot. I thought about this but never tested, much appreciated.