Changing Colours
#1

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

OnPlayerEnterVehicle
and
OnPlayerExitVehicle
Reply
#3

Idk how to make it change colours though :\
Reply
#4

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

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


Forum Jump:


Users browsing this thread: 3 Guest(s)