How do I disable Vehicle spaw in Interior
#1

So how do I disable vehicle from spawning in a interior? For example I do /veh (vehid) the vehicle spawn just like normal

I have a filterscript for vehicle spawn. I try to remove the..

Код:
LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid));
But it still spawn and it's invisible, I can drive on it
Reply
#2

pawn Код:
new interior = GetPlayerInterior(playerid);
if(interior != 0) return SendClientMessage(playerid, COLOR_GREY, "You can't spawn vehicle in interior");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)