[Ajuda] salvamento
#6

Tem varias possibilidades de erro..
Talvez a quantidade de cйlulas da query pode estar sendo pouca.

Faзa um DEBUG:

PHP код:
    GetPlayerPos(playeridpos[0], pos[1], pos[2]);
    new 
money GetPlayerMoney(playerid);
    new 
scores GetPlayerScore(playerid);
    
mysql_format(mysqlquerysizeof(query), "UPDATE `players` SET `pAdmin`=%d,`Vip`=%d, `Emprego`=%d, `Score`=%d,`Dinheiro`=%d,`PosX`=%f, `PosY`=%f, `PosZ`=%f WHERE `ID`=%d",PlayerInfo[playerid][pAdmin],PlayerInfo[playerid][Vip],PlayerInfo[playerid][Emprego],scores,money,PlayerInfo[playerid][Data],pos[0],pos[1],pos[2],PlayerInfo[playerid][ID]);
    
mysql_tquery(mysqlquery"DEBUGsalvar""d"playerid);
    
forward DEBUGsalvar(playerid);
public 
DEBUGsalvar(playerid)
{
    
printf("Conta salva ID: %d"PlayerInfo[playerid][ID]);
    return 
1;

Reply


Messages In This Thread
salvamento - by ZeZin - 30.04.2015, 14:39
Re: salvamento - by Cleyson - 01.05.2015, 00:31
Re: salvamento - by ZeZin - 01.05.2015, 17:59
Re: salvamento - by GabrielDias_Invision - 01.05.2015, 18:10
Re: salvamento - by ZeZin - 01.05.2015, 19:53
Re: salvamento - by Cleyson - 01.05.2015, 20:05
Re: salvamento - by GabrielDias_Invision - 01.05.2015, 20:18
Re: salvamento - by ZeZin - 01.05.2015, 20:32
Re: salvamento - by GabrielDias_Invision - 01.05.2015, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)