SA-MP Forums Archive
Error Command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error Command (/showthread.php?tid=646624)



Error Command - ducmcmca1 - 20.12.2017

Help me! Error codẻ : https://pastebin.com/jGs1Qr3C

Erro second Pawno:
./includes/ngg.pwn(131269) : error 029: invalid expression, assumed zero
./includes/ngg.pwn(131276) : error 029: invalid expression, assumed zero
./includes/ngg.pwn(131276) : error 017: undefined symbol "cmd_keoluoi"
./includes/ngg.pwn(131276) : error 029: invalid expression, assumed zero
./includes/ngg.pwn(131276) : fatal error 107: too many error messages on one line

Help me!. Thanks You!


Re: Error Command - Konstantinos - 20.12.2017

Код:
CMD:thaluoi(playerid, params[])
{
    if (!IsABoat(GetPlayerVehicleID(playerid)))
    {
        if (PlayerInfo[playerid][pLuoica] >= 1)
        {
            PlayerInfo[playerid][pLuoica] -= 1;
            PlayerInfo[playerid][pThaluoi] += 1;
            SendClientMessageEx(playerid, COLOR_WHITE, "Ban dang tha luoi xuong bien, Neu ban di chuyen chiec thuyen di la se that bai.");
            SetTimerEx("Thaca", 120000, 0, "d", playerid);
        }
        else
        {
            SendClientMessageEx(playerid, COLOR_GRAD1, "Ban khong co luoi danh ca, hay lai ong lao ngu dan de mua luoi.");
        }
    }
    else
    {
        SendClientMessageEx(playerid, COLOR_GRAD1, "Ban phai trong thuyen moi co the tha luoi.");
    }
    return 1;
}



Re: Error Command - ducmcmca1 - 20.12.2017

Oh Thanks, I'm careless