17.04.2014, 23:13
pawn Код:
format(query,sizeof(query),"UPDATE `usuarios` SET `coins` = '%d', `dinheiro` = '%d', \
`pontos` = '%d', `kills` = '%d',`deaths` = '%d',`Arma1` = '%d',`Arma2` = '%d',`Arma3` = '%d',\
`Deagle` = '%d',`Tec-9` = '%d',`SMG` = '%d',`Shotgun` = '%d',`Combat Shotgun` = '%d',`M4` = '%d', \
`AK47` = '%d',`Rifle` = '%d',`Sniper Rifle` = '%d',`Molotov` = '%d',`Flame Thrower` = '%d', \
`Mini Gun` = '%d',`Rocket Launcher` = '%d',`Admin` = '%d' WHERE username = '%s'",PlayerInfo[i][Coins], \
GetPlayerMoney(i),GetPlayerScore(i),PlayerInfo[i][Kills],PlayerInfo[i][Deaths], \
PlayerInfo[i][Arma1],PlayerInfo[i][Arma2],PlayerInfo[i][Arma3],PlayerInfo[i][Deagle],PlayerInfo[i][Tec9], \
PlayerInfo[i][SMG],PlayerInfo[i][Shotgun],PlayerInfo[i][CombatShotgun],PlayerInfo[i][M4],PlayerInfo[i][AK47], \
PlayerInfo[i][Rifle],PlayerInfo[i][SniperRifle], PlayerInfo[i][Molotov],PlayerInfo[i][FlameThrower],PlayerInfo[i][MiniGun], \
PlayerInfo[i][RocketLauncher],PlayerInfo[i][Admin],GetPlayerNameEx(i));
continua a dar erro
Код:
C:\Users\joao\Desktop\Servidor alien\gamemodes\main.pwn(278) : error 075: input line too long (after substitutions) C:\Users\joao\Desktop\Servidor alien\gamemodes\main.pwn(279) : error 017: undefined symbol "GetPlayerS" C:\Users\joao\Desktop\Servidor alien\gamemodes\main.pwn(284) : warning 217: loose indentation C:\Users\joao\Desktop\Servidor alien\gamemodes\main.pwn(284) : error 017: undefined symbol "core" C:\Users\joao\Desktop\Servidor alien\gamemodes\main.pwn(284) : error 029: invalid expression, assumed zero C:\Users\joao\Desktop\Servidor alien\gamemodes\main.pwn(284) : warning 215: expression has no effect C:\Users\joao\Desktop\Servidor alien\gamemodes\main.pwn(285) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.