/nos command, 3 errors.
#2

pawn Код:
CMD:nos(playerid, params[])
{
    new carid;
    carid = GetPlayerVehicleID(playerid);
    if(carid < 0)
    {
        SendClientMessage(playerid, COL_BRIGHTRED, "ERROR: Sa ei ole autos sees!");
    }
    else
    {
        AddVehicleComponent(carid, 1010);
    }
    return 1;
}
it should be an integer
Reply


Messages In This Thread
/nos command, 3 errors. - by flashsnake - 30.03.2012, 16:08
Re: /nos command, 3 errors. - by emokidx - 30.03.2012, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)