17.04.2014, 23:06
Ola, tem forma de reduzir isto \/ que esta muito extenso e esta a dar erros
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));