SA-MP Forums Archive
[Help] Yellow mark for car - 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: [Help] Yellow mark for car (/showthread.php?tid=73250)



[Help] Yellow mark for car - Marc_307 - 13.04.2009

Hey guys, I wanna make a yellow mark abive a car all the time, the server is running. I made this:
[pwn]public OnPlayerSpawn(playerid)
{
SetVehicleParamsForPlayer(0,playerid,1,0);
return 1;
}[/pwn]
But it doesn't work. Does anybody know why? Thanks for help.


Re: [Help] Yellow mark for car - luxeon - 13.04.2009

you should do it this way:
pawn Код:
new var = CreateVehicle();
SetVehicleParamsForPlayer(var,playerid,1,0);
Luxeon



Re: [Help] Yellow mark for car - Marc_307 - 13.04.2009

Thanks Luxeon, now it works perfecly.