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));
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));
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.
Este e o problema "Servidor alien" , Se tu ta usando o server do alien e pq falta umas inc , Se nao for dele , Se o nome do teu server for mesmo Alien , Entгo essas funзхes ai nгo foram definidas ..
e tambem por que esta grande demais use Strcat .. |
Servidor alien nao tem nada ver com o alien. https://sampforum.blast.hk/showthread.php?tid=463738
|
new string[1024],string2[1024],string3[1024];
format(string,sizeof(string),"UPDATE `usuarios` SET `coins` = '%d', `dinheiro` = '%d', `pontos` = '%d', `kills` = '%d',`deaths` = '%d',`Arma1` = '%d',`Arma2` = '%d',`Arma3` = '%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],GetPlayerNameEx(i));
format(string2,sizeof(string2),"UPDATE `usuarios` SET `Deagle` = '%d',`Tec-9` = '%d',`SMG` = '%d',`Shotgun` = '%d',`Combat Shotgun` = '%d',`M4` = '%d' WHERE username = '%s'",PlayerInfo[i][Deagle],PlayerInfo[i][Tec9],PlayerInfo[i][SMG],PlayerInfo[i][Shotgun],PlayerInfo[i][CombatShotgun],PlayerInfo[i][M4],GetPlayerNameEx(i));
format(string3,sizeof(string3),"`UPDATE `usuarios` SET `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][AK47],PlayerInfo[i][Rifle],PlayerInfo[i][SniperRifle], PlayerInfo[i][Molotov],PlayerInfo[i][FlameThrower],PlayerInfo[i][MiniGun],PlayerInfo[i][RocketLauncher],PlayerInfo[i][Admin],GetPlayerNameEx(i));
mysql_function_query(mysql,string,false,"","");
mysql_function_query(mysql,string2,false,"","");
mysql_function_query(mysql,string3,false,"","");
jб arranjei maneira
pawn Код:
|
new string[1024];
format(string,sizeof(string),"UPDATE `usuarios` SET `coins` = '%d', `dinheiro` = '%d', `pontos` = '%d', `kills` = '%d',`deaths` = '%d',`Arma1` = '%d',`Arma2` = '%d',`Arma3` = '%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],GetPlayerNameEx(i));
mysql_function_query(mysql,string,false,"","");
format(string,sizeof(string),"UPDATE `usuarios` SET `Deagle` = '%d',`Tec-9` = '%d',`SMG` = '%d',`Shotgun` = '%d',`Combat Shotgun` = '%d',`M4` = '%d' WHERE username = '%s'",PlayerInfo[i][Deagle],PlayerInfo[i][Tec9],PlayerInfo[i][SMG],PlayerInfo[i][Shotgun],PlayerInfo[i][CombatShotgun],PlayerInfo[i][M4],GetPlayerNameEx(i));
mysql_function_query(mysql,string,false,"","");
format(string,sizeof(string),"`UPDATE `usuarios` SET `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][AK47],PlayerInfo[i][Rifle],PlayerInfo[i][SniperRifle], PlayerInfo[i][Molotov],PlayerInfo[i][FlameThrower],PlayerInfo[i][MiniGun],PlayerInfo[i][RocketLauncher],PlayerInfo[i][Admin],GetPlayerNameEx(i));
mysql_function_query(mysql,string,false,"","");