23.06.2014, 14:29
In line 2461, remove the semicolon at the end of it:
In line 2464, remove the opened parenthesis from the arguments:
Define the colour, not so hard to think of it:
sqlite_escape_string is a custom one, use mysql_format with '%e' placeholder to escape special characters.
The array CivilianSpawn is not defined, so declare it with its enum too.
pawn Код:
if(PlayerOwnsCharacter_Name(playerid, escapedstring)) //2461
pawn Код:
format(query, sizeof(query), "DELETE FROM `Character` WHERE `cName` = '%s'", InsertPlayerUnderscoreString(inputtext)); //(InsertPlayerUnderscoreString(inputtext) //2464
pawn Код:
#define COLOR_YELLOW 0xFFFF00FF
The array CivilianSpawn is not defined, so declare it with its enum too.