Yellow marker above vehicle
#1

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;
}
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)