SA-MP Forums Archive
Changing Colours - 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: Changing Colours (/showthread.php?tid=120386)



Changing Colours - Biggs - 11.01.2010

Hello, i was wondering how i could change peroples colours when they enter a certain vehicle, so i can change some vehicles around, change the players colour, and when they exit, it takes them back to their normal colour, or just a colour where everyone is the same.

Please help,



Thanks


Re: Changing Colours - jamesb93 - 11.01.2010

OnPlayerEnterVehicle
and
OnPlayerExitVehicle


Re: Changing Colours - Biggs - 11.01.2010

Idk how to make it change colours though :\


Re: Changing Colours - jamesb93 - 11.01.2010

pawn Код:
OnPlayerEnterVehicle
{
   SetPlayerColor(playerid,COLOR_GREEN);
   return 1;
}

OnPlayerExitVehicle
{
   SetPlayerColor(playerid,old_color);
   return 1;
}