[Help]Markers
#1

Ok,i did this:

Code:
public OnPlayerSpawn(playerid)
{
    SetPlayerColor(playerid, WHITE);

	if(Player[playerid][Authenticated] == 1)
	{
        if(Player[playerid][Group] == 1)
		{
			if(Player[playerid][CopDuty] == 1)
  			{
    			SetPlayerColor(playerid, WHITE);
  			}
   			else
    		{
          		SetPlayerColor(playerid, BLUE);
		}

	    if(Player[playerid][Group] == 4)
		{
			SetPlayerColor(playerid, RED);
		}
	
		if(Player[playerid][Group] == 6)
		{
			SetPlayerColor(playerid, PURPLE);
		}
		
		if(Player[playerid][Group] == 8)
		{
			SetPlayerColor(playerid, GREEN);
		}
		
        if(Player[playerid][Group] == 12)
		{
			SetPlayerColor(playerid, YELLOW);
		}
		
		if(Player[playerid][Group] == 7)
		{
			SetPlayerColor(playerid, AQUAGREEN);
		}
	}
But when they die the color reset to white...didnt find out yet why xD

Can someone give some tips?
Reply


Messages In This Thread
[Help]Markers - by =WoR=Bruno - 20.02.2011, 12:53
Re: [Help]Markers - by MadeMan - 20.02.2011, 12:58
Re: [Help]Markers - by =WoR=Bruno - 20.02.2011, 13:01

Forum Jump:


Users browsing this thread: 1 Guest(s)