SA-MP Forums Archive
How do I disable Vehicle spaw in Interior - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How do I disable Vehicle spaw in Interior (/showthread.php?tid=364469)



How do I disable Vehicle spaw in Interior - kbalor - 30.07.2012

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


Re: How do I disable Vehicle spaw in Interior - kaiks - 30.07.2012

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