[Include] [INC] 99.Pawn - Easy Vehicle Functions - "EVF"
#1

Easy Vehicle Functions
Functions:
  • AddPrivateVehicle(Owner[], Model, Float:X, Float:Y, Float:Z, Float:A, Color1, Color2, RespawnDelay);
  • AddRandomVehicle(Float:X, Float:Y, Float:Z, Float:A, RespawnDelay);
  • AddVehicleLine(HowMany, Model, Float:X, Float:FirstY, Float:Z, Float:A, Color1, Color2, RespawnDelay);
  • AddVehicleRow(HowMany, Model, Float:FirstX, Float:Y, Float:Z, Float:A, Color1, Color2, RespawnDelay);
  • ExplodeVehicle(vehicleid, size);
  • LockVehicleForAll(vehicleid, bool:lock);
  • LockVehicleForPlayer(playerid, vehicleid, bool:lock);
  • WarpPlayerToVehicle(playerid, vehicleid);
  • WarpVehicleToPlayer(vehicleid, playerid);
  • LoadEVFVehiclesFromFiles();
  • GetVehicleName(vehicleid);
  • SetVehiclePosEx(vehicleid, Float:X, Float:Y, Float:Z, Float:A);
  • GetVehiclePosEx(vehicleid, &Float:X, &Float:Y, &Float:Z, &Float:A);
  • GetVehicleOwner(vehicleid); (Just working with private vehicles);
  • GetVehicleDriverID(vehicleid);
  • SavePrivateVehicle(Owner[], Model, Float:X, Float:Y, Float:Z, Float:A, Color1, Color2, RespawnDelay);
  • SaveRandomVehicle(Float:X, Float:Y, Float:Z, Float:A, RespawnDelay);
  • SaveVehicleLine(HowMany, Model, Float:X, Float:FirstY, Float:Z, Float:A, Color1, Color2, RespawnDelay);
  • SaveVehicleRow(HowMany, Model, Float:FirstX, Float:Y, Float:Z, Float:A, Color1, Color2, RespawnDelay);
  • SaveNormalVehicle(modelid, Float, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);

Installation:

1. Step: Download the .rar
2. Step: Put the .inc file into "/pawno/includes"
3. Step: Add "#include <pvehicles>" on top of your script.
4. Step: Add the functions to your script
5. Step: .::VERY IMPORTANT::. Add "INC_VehicleSpawn(vehicleid);" to your OnVehicleSpawn callback and "INC_VehicleStateChange(playerid, newstate);" to your OnPlayerStateChange callback.
6. Step: Create one Folder in the scriptfiles which should be called: "EVF".
7. Add my functions to your script.
8. Compile. (If there should be any errors -> ASK HERE FOR SUPPORT
9. Have fun!



Screenshots/Videos:

[99.Pawn]AddPrivateVehicleFunction
[99.Pawn]AddVehicleLine function



Download/Mirrors:

DOWNLOAD

Questions/Feedback/Suggestions/Bugreport:

Feel free to talk about the include here.
Reply


Messages In This Thread
[INC] Easy Vehicle Functions -> "EVF" - by thiaZ_ - 17.03.2010, 19:52
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by Carlton - 17.03.2010, 20:04
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by XRVX - 17.03.2010, 20:07
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by thiaZ_ - 17.03.2010, 21:00
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by ThaYuriShit - 17.03.2010, 21:51
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by JPs_ - 17.03.2010, 21:58
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by Aoi_Rikuto - 17.03.2010, 22:33
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by freezebox - 30.03.2010, 18:51
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by ДitisOnHuora - 30.03.2010, 21:00
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by Lorenc_ - 31.03.2010, 04:38
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by V1ceC1ty - 31.03.2010, 07:25
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by @TheShadow@ - 31.03.2010, 11:13
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by freezebox - 31.03.2010, 16:10
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by Steven82 - 02.04.2010, 05:07
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by Danny-08 - 05.04.2010, 10:33
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by Danny-08 - 10.04.2010, 16:31
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by MichalGusta - 10.04.2010, 23:37
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by KnooL - 11.04.2010, 12:27
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by AiVAMAN - 11.04.2010, 15:41
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by arnutisz - 11.04.2010, 16:02
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by thiaZ_ - 11.04.2010, 16:20
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by PotH3Ad - 12.04.2010, 04:32
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by russo666 - 12.04.2010, 06:16
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by Danny-08 - 13.04.2010, 20:06
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by thiaZ_ - 14.04.2010, 14:22
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by lleduyson - 08.08.2016, 12:08
Re: [INC] 99.Pawn - Easy Vehicle Functions - "EVF" - by iKarim - 08.08.2016, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)