20.01.2015, 23:11
Hey guys,
I just started a new GM and now Iґm learning a bit of MySQL.
I was reading a Tutorial and tried to do it by myself, with my own variables.
But to register a player Iґve gotta set many Variables and that seems to be too much for Pawn
How Can I fix it?
Errors:
Line:
I just started a new GM and now Iґm learning a bit of MySQL.
I was reading a Tutorial and tried to do it by myself, with my own variables.
But to register a player Iґve gotta set many Variables and that seems to be too much for Pawn
How Can I fix it?
Errors:
Quote:
C:\PeMfr\gamemodes\sat.pwn(49 : error 075: input line too long (after substitutions) C:\PeMfr\gamemodes\sat.pwn(499) : error 037: invalid string (possibly non-terminated string) C:\PeMfr\gamemodes\sat.pwn(499) : error 017: undefined symbol "INSERT" C:\PeMfr\gamemodes\sat.pwn(499) : error 017: undefined symbol "INTO" C:\PeMfr\gamemodes\sat.pwn(499) : fatal error 107: too many error messages on one line |
PHP код:
mysql_format(mysql, query, sizeof(query), "INSERT INTO `accounts` (`Name`, `Password`, `SkinID`, `Class`, `Money`, `Bank`, `Score` ,`Kills`, `Deaths`, `MissionsCompleted`, `Level`, `EXP`, `Adminlevel`, `VIP`, `TotalVehicles`, `WeaponSlot1`, `WeaponSlot2`, `WeaponSlot3`, `WeaponAmmo1`, `WeaponAmmo2`, `WeaponAmmo3`, `PosX`, `PosY`, `PosZ`, `FacingAngel`, `Bountie`, `BountiesDone`, `TroublesMade`, `Headshots`) VALUES ('%e', '%s','%s', 299, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ,0 ,0, 0 ,0 ,0, 0 ,0 ,0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0)", Name[playerid], pInfo[playerid][Password], IP[playerid]);