[Question] MySQL Plugin
#2

Try adding the \_ for it is originated for php, meybe it will work if you add an \ before the underscore.

Note: Use the split function.
Example:
pawn Код:
new Name[2][MAX_PLAYER_NAME];
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
split(PlayerName, Name, "_");
format(PlayerName, 100, "%s\\_%s", Name[0], Name[1]);
Reply


Messages In This Thread
[Question] MySQL Plugin - by Skribblez - 07.04.2012, 22:26
Re: [Question] MySQL Plugin - by TheLazySloth - 07.04.2012, 23:42
Re: [Question] MySQL Plugin - by Skribblez - 07.04.2012, 23:51

Forum Jump:


Users browsing this thread: 1 Guest(s)