09.05.2010, 15:27
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;
}