team car jack
#3

Quote:
Originally Posted by SAWC™
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  for(new i = 0; i < MAX_PLAYERS; i ++)
  {
    if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i) && i != playerid)
    {
      if(gTeam[i] == gTeam[playerid] && GetPlayerVehicleID(i) == vehicleid)
      {
        new
          Pos[3];

        GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
        SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2] + 10);
        SendClientMessage(playerid, COLOR, "Don't jack team mates!");
      }
    }
  }
  return 1;
what is this? can you explain it a little? because it gives me erros not including "COLOR"

Reply


Messages In This Thread
team car jack - by jamesbond007 - 23.02.2010, 16:45
Re: team car jack - by Miguel - 23.02.2010, 17:30
Re: team car jack - by jamesbond007 - 23.02.2010, 17:39
Re: team car jack - by VonLeeuwen - 23.02.2010, 17:42
Re: team car jack - by jamesbond007 - 23.02.2010, 17:45
Re: team car jack - by VonLeeuwen - 23.02.2010, 17:46
Re: team car jack - by jamesbond007 - 23.02.2010, 17:49
Re: team car jack - by VonLeeuwen - 23.02.2010, 17:52
Re: team car jack - by jamesbond007 - 23.02.2010, 18:00
Re: team car jack - by VonLeeuwen - 23.02.2010, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)