SA-MP Forums Archive
How to add yellow markers to a 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: How to add yellow markers to a vehicle? (/showthread.php?tid=65548)



How to add yellow markers to a vehicle? - harrold - 13.02.2009

How:



?


Re: How to add yellow markers to a vehicle? - SilentMouse - 13.02.2009

https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer

I'm pretty sure that's it.


Re: How to add yellow markers to a vehicle? - harrold - 13.02.2009

OMG
I mean the yellow marker on the bus


Re: How to add yellow markers to a vehicle? - Nero_3D - 13.02.2009

Quote:
Originally Posted by MilentSouse



Re: How to add yellow markers to a vehicle? - harrold - 13.02.2009

No a yellow marker i don't wanna lock the doors


Re: How to add yellow markers to a vehicle? - SilentMouse - 13.02.2009

(vehicleid,playerid,objective,doorslocked)
vehicle ID of the car
playerid ID of the player
objective Show a marker above the car for this player?
doorslocked 0 means open,1 means locked


Re: How to add yellow markers to a vehicle? - Think - 13.02.2009

Quote:
Originally Posted by harrold
No a yellow marker i don't wanna lock the doors
thats the last param, watch this!

Quote:
Originally Posted by wiki.samp
SetVehicleParamsForPlayer(vehicleid,playerid,objec tive,doorslocked)
vehicle ID of the car
playerid ID of the player
objective Show a marker above the car for this player?
doorslocked 0 means open,1 means locked
just do this:

pawn Код:
for(new i=0;i <MAX_PLAYERS; i++)
{
 SetVehicleParamsForPlayer(GetPlayerVehicleID(i),i,1,0);
 return 1;
}