[Ajuda] Contador drift bugado!
#9

Deu isso ae amigo!

(4489) : error 029: invalid expression, assumed zero
(4489 -- 4490) : warning 215: expression has no effect
(4490) : error 001: expected token: ";", but found "}"
(4483) : warning 204: symbol is assigned a value that is never used: "string"

LINHAS DOS ERROS
pawn Код:
+= 0
}
 new Float:Pos[3], string[50];
MEU ONPLAYERUPDATE!

pawn Код:
public OnPlayerUpdate(playerid)
{
    SetPVarInt(playerid, "SegundosTick", gettime());
    if( gettime() - GetPVarInt(playerid, "SegundosTick") > 1) {
    salvarJogador(playerid);
    Msg(playerid, -1, "salvo");
    }
    new Float:Pos[3], string[50];
    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    if(GetTickCount() - Tick[playerid] >= 120000)
    {
        if(GetPVarFloat(playerid, "X") == Pos[0] && GetPVarFloat(playerid, "Y") == Pos[1] && GetPVarFloat(playerid, "Z") == Pos[2])
        {
        += 0
        }
    }
    SetPVarFloat(playerid, "X", Pos[0]);
    SetPVarFloat(playerid, "Y", Pos[1]);
    SetPVarFloat(playerid, "Z", Pos[2]);
    Tick[playerid] = GetTickCount();
    return 1;
}
Reply


Messages In This Thread
Contador drift bugado! - by best95 - 03.09.2014, 02:27
Re: Contador drift bugado! - by Macintosh - 03.09.2014, 06:37
Re: Contador drift bugado! - by best95 - 03.09.2014, 14:02
Re: Contador drift bugado! - by best95 - 03.09.2014, 14:08
Re: Contador drift bugado! - by MTCpyedroDN - 03.09.2014, 14:33
Re: Contador drift bugado! - by best95 - 03.09.2014, 15:34
Re: Contador drift bugado! - by best95 - 03.09.2014, 19:04
Re: Contador drift bugado! - by Macintosh - 03.09.2014, 19:24
Re: Contador drift bugado! - by best95 - 03.09.2014, 19:54
Re: Contador drift bugado! - by StreetGT - 03.09.2014, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)