Help with this
#10

Put this in and tell me the errors

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  new vehicleid = GetPlayerVehicleID(playerid);
  if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
  {
    if(vehicleid == cruiser1)
    {
      if(!gTeam[playerid] == TEAM_COP)
      {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid, COLOR_RED, "This vehicle belongs to the San Fierro Police Department.");
      }
    }
   }
   return 1;
}
Reply


Messages In This Thread
Help with this - by JoeDaDude - 23.12.2009, 14:18
Re: Help with this - by MadeMan - 23.12.2009, 15:47
Re: Help with this - by JoeDaDude - 23.12.2009, 15:51
Re: Help with this - by MadeMan - 23.12.2009, 15:52
Re: Help with this - by JoeDaDude - 23.12.2009, 18:43
Re: Help with this - by Niixie - 23.12.2009, 18:50
Re: Help with this - by JoeDaDude - 23.12.2009, 18:54
Re: Help with this - by mamorunl - 23.12.2009, 18:55
Re: Help with this - by JoeDaDude - 23.12.2009, 18:56
Re: Help with this - by Niixie - 23.12.2009, 19:08

Forum Jump:


Users browsing this thread: 1 Guest(s)