[HELP]How Make a vehicle that nobody can enter in it?
#6

Quote:
Originally Posted by Zimon95
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  if(vehicleid == id)
  {
     new Float:x, Float:y, Float:z;
     GetPlayerPos(playerid,x,y,z);
     SetPlayerPos(playerid,x,y,z);
  }
  return 1;
}
I think it's more quickly to set up. (Copied from LA-RP script)
SetVehicleParamsForPlayer is better
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)