how ?
#3

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  new Float:x_pos, Float:y_pos, Float:z_pos;
  if((GetVehicleModel(vehicleid) == _MODEL_ID_YOU_WANT_) && (!_IS_PLAYER_COP_DEFINE_[playerid]))
  {
  GetPlayerPos(playerid, x_pos, y_pos, z_pos);
  SetPlayerPos(playerid, x_pos, y_pos, z_pos);
  SendClientMessage(playerid, 0xFFFFFFAA, "You can't enter this vehicle!");
  }
  return 1;
}
Reply


Messages In This Thread
how ? - by radi - 26.06.2009, 14:19
Re: how ? - by radi - 26.06.2009, 17:11
Re: how ? - by Correlli - 26.06.2009, 17:17
Re: how ? - by illay - 26.06.2009, 17:33
Re: how ? - by radi - 26.06.2009, 19:47

Forum Jump:


Users browsing this thread: 1 Guest(s)