need help with Player Colors
#1

How i can make this code for giving player color by every car ?

Код:
public OnPlayerStateChange(playerid, newstate, oldstate){
	if(newstate==PLAYER_STATE_DRIVER)
	{
		if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520)
		{
			SetPlayerColor(playerid,COLOR_GREEN);
		}
	}
	return 1;
}
Reply
#2

can someone help plz?
Reply
#3

ehh ? can you exlain it little better

when you enter a green car then the map goes green too or

DONT SPAM
you posted it 5 mins ago !!
Reply
#4

Код:
public OnPlayerStateChange(playerid, newstate, oldstate){
	if(newstate==PLAYER_STATE_DRIVER)
	{
		if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520)
		{
			SetPlayerColor(playerid,COLOR_GREEN);
		}
	}
	return 1;
}
Reply
#5

thank you very much
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)