small help - 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: small help (
/showthread.php?tid=642346)
small help -
XHunterZ - 28.09.2017
how to make when anyone exits an airplane get a parachute because my anticheats remove the default parachute when you get out of the airplane.
Re: small help -
10MIN - 28.09.2017
Try with something like:
PHP Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new model = GetVehicleModel(vehicleid);
if(model == 460 || model == 476) GivePlayerWeapon(playerid,46, 10);
return 1;
}
Remember to add more models in the "if" statement