How to add yellow markers to a vehicle?
#1

How:



?
Reply
#2

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

I'm pretty sure that's it.
Reply
#3

OMG
I mean the yellow marker on the bus
Reply
#4

Quote:
Originally Posted by MilentSouse
Reply
#5

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

(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
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)