Deleting Character and Creating Character dialog.
#4

In line 2461, remove the semicolon at the end of it:
pawn Код:
if(PlayerOwnsCharacter_Name(playerid, escapedstring)) //2461
In line 2464, remove the opened parenthesis from the arguments:
pawn Код:
format(query, sizeof(query), "DELETE FROM `Character` WHERE `cName` = '%s'", InsertPlayerUnderscoreString(inputtext)); //(InsertPlayerUnderscoreString(inputtext) //2464
Define the colour, not so hard to think of it:
pawn Код:
#define COLOR_YELLOW 0xFFFF00FF
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)