Vehicle attachment removing - 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: Vehicle attachment removing (
/showthread.php?tid=535043)
Vehicle attachment removing -
Thogy - 01.09.2014
Hello, I made vehicle attachment, I enter some vehicle, attachment shows up but after 1 sec is removed.
Somebody have experience with this?
Thx
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
VehObject[playerid] = CreateObject(18686, 0.0, 0.0, -50.0, 0.0, 0.0, 0.0, 250.0);
AttachObjectToVehicle(VehObject[playerid], vehicleid, 0.000000, 1.964998, -2.905019, 0.000000, 0.000000, 0.000000);
return 1;
}