30.08.2011, 13:18
You can break the line as long it ends with a comma, not in a string
Try this.
@ TTJJ: That's bullshit. It would just copy a string. For such things you should use strcat...
pawn Code:
format(Query, sizeof(Query),
"INSERT INTO `USERS` (`NAME`, `PASSWORD`, `IP`, `SCORE`, `CASH`, `ADMINLEVEL`, `KILLS`, `DEATHS`, `VIPLEVEL`, `Hours`, `Minutes`, `Seconds`, `RegisteredDate`, `LastX`, `LastY`, `LastZ`, `Interior`, `Armour`, `Health`, `GamingPoints`, `Wantedlevel`, `Skin`, `FightStyle`, `LastOn`) VALUES('%s','%s','%s', '0', '500', '0', '0', '0', '0', '0', '0', '0', '%s', '0', '0', '0', '0', '0', '0', '0', '0', '%d', '%s', '0')",
name, inputtext, ip, strdate, Skin, GetPlayerFightStyleName(playerid)); // Error line (250)
@ TTJJ: That's bullshit. It would just copy a string. For such things you should use strcat...