Disable vehicles and planes - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Disable vehicles and planes (
/showthread.php?tid=333396)
Disable vehicles and planes -
Dion1 - 11.04.2012
Hi all,
My question was: how can i disable vehicles and planes for example the hunter
Please answer pm or reply
Greetings,
Dion
Re: Disable vehicles and planes -
Tom1412 - 11.04.2012
hi this will remove them from the vehicle so they can't use it.
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(vehicleid == /*this is where you put ur id for the vehicle*/)
{
RemovePlayerFromVehicle(playerid);
}
return 1;
}
if you need anymore help add me on skype, hornyboy1412
Re: Disable vehicles and planes -
Dion1 - 11.04.2012
I have to put it under
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger??