cant fix this need help...
#1

Код:
	if(CarID == grovecars25)
 	{
	if(PlayerColour == TEAM_GROVE || PlayerColour == COLOR_WHITE)
	{
	//Message to team when enters car?
	}
  else
  {
  SendClientMessage(playerid, RED,"SERVER MESSAGE: You are not a member of the Grove Street Famillies.");
  //SendClientMessage(playerid, YELLOW, "SERVER MESSAGE: If you have a picklock, you can brake into the vehicle. Read /picklock.");
  	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
  SetPlayerPos(playerid, X+2, Y+2, Z+2);
  }
  	}

If I am white Colour, I can't enter the car still, I get the warning that I am not GS member
Reply
#2

any Ideas?
Reply
#3

And how is PlayerColour defined?
Reply
#4

new PlayerColor;
PlayerColor = GetPlayerColor(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)