SHARE
TWEET

Kanada

a guest Aug 10th, 2015 342 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Vehicle Exported with Texture Studio By: [uL]Pottus/////////////////////////////////////////////////////////////
  2. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  3. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  4. #include <a_samp>
  5. #include <streamer>
  6.  
  7. new carvid;
  8.  
  9. public OnFilterScriptInit()
  10. {
  11.     new tmpobjid;
  12.  
  13.     carvid = CreateVehicle(550,265.682,1225.383,15.583,136.384,0,0,-1);
  14.  
  15.     AddVehicleComponent(carvid, 1005);
  16.     AddVehicleComponent(carvid, 1010);
  17.     AddVehicleComponent(carvid, 1018);
  18.     AddVehicleComponent(carvid, 1082);
  19.     tmpobjid = CreateDynamicObject(2767,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
  20.     SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0);
  21.     AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.000, -2.797, -0.222, -81.200, 180.000, 180.000);
  22.     tmpobjid = CreateDynamicObject(18646,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
  23.     AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.530, 0.049, 0.759, 0.000, 0.000, 0.000);
  24.     tmpobjid = CreateDynamicObject(19483,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
  25.     SetDynamicObjectMaterialText(tmpobjid, 0, "LnD", 90, "Ariel", 20, 1, -16711936, 0, 1);
  26.     AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.000, -2.780, -0.137, 0.000, -6.699, 270.000);
  27.     tmpobjid = CreateDynamicObject(19601,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
  28.     SetDynamicObjectMaterial(tmpobjid, 0, 2917, "a51_crane", "banding5_64HV", -16777216);
  29.     AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.000, 2.771, -0.211, 0.000, 0.000, 180.000);
  30. }
  31.  
  32. public OnFilterScriptExit()
  33. {
  34.     DestroyVehicle(carvid);
  35. }
  36.  
  37. public OnVehicleSpawn(vehicleid)
  38. {
  39.     if(vehicleid == carvid)
  40.     {
  41.         AddVehicleComponent(carvid, 1005);
  42.         AddVehicleComponent(carvid, 1010);
  43.         AddVehicleComponent(carvid, 1018);
  44.         AddVehicleComponent(carvid, 1082);
  45.     }
  46. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top