SA-MP Forums Archive
Yellow marker above vehicle - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Yellow marker above vehicle (/showthread.php?tid=146883)



Yellow marker above vehicle - ~Dangun! - 09.05.2010

I am using this code, but it isn't showing a yellow marker :S
pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if(vehicleid == ObjectiveVehicle)
    {
        if(gTeam[forplayerid] == TEAM_ATTACK)
        {
        SetVehicleParamsForPlayer(ObjectiveVehicle, forplayerid, 0, 0);
        } else {
          SetVehicleParamsForPlayer(ObjectiveVehicle, forplayerid, 0, 1);
        }
    }

    return 1;
}



Re: Yellow marker above vehicle - Sergei - 09.05.2010

Код:
(vehicleid,playerid,objective,doorslocked)
You set parameter 'objective' to 0, so marker do not show up.