04.10.2012, 16:36
Linha do erro: udb_setAccState(PlayerName(i),GetPlayerMoney(i));
Cуdigo:
Erro: error 017: undefined symbol "udb_setAccState"
oq pode ser? ajudem..
Cуdigo:
pawn Код:
public OnGameModeExit()
{
for(new i=0; i<MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){
if (PLAYERLIST_authed[i] == 1) {
// Was loggedin, so save the data!
udb_setAccState(PlayerName(i),GetPlayerMoney(i));
new Float:health;
GetPlayerHealth(i, health);
udb_setHealth(PlayerName(i), health);
udb_setGasoline(PlayerName(i), Petrol[i]);
udb_setProf(PlayerName(i), Profissao[i]);
printf("Dados de %s (ID: %d) salvos com sucesso\n",PlayerName(i),i);
}
}
}
print("Saindo do GameMode Caminhoneiros");
return 1;
}
oq pode ser? ajudem..