CreateChangeVeh v0.3 (New functions!) -
[DOG]irinel1996 - 23.12.2011
Hi people. :P
Here is the third version of my include.
Well, with that you can change the vehicle like in MTA, with pickups. Repair your vehicle, and get Nitro, just with one line.
-Info:
CreateChangeVeh(PickupModel, NewCarID, X, Y, Z,"Text");
-PickupModel: the pickup model, for example 1317.
-NewCarID: the new vehicle model ID.
-X,Y,Z: coordenates.
-"Text": you can put for example the name of the new vehicle.
CreateNitroPickup(X, Y, Z,"Text");
-X,Y,Z: coordenates.
-"Text": you can put here, for example "Nitro".
CreateRepairPickup(PickupModel, X, Y, Z,"Text");
-PickupModel: the pickup model, for example 1248.
-X,Y,Z: coordenates.
-"Text": some text, for example "Repair".
NOTE: The max pickups are MAX_PLAYERS*3, you can change this value opening the include and adjusting MAX_PCambio.
-Example:
pawn Код:
#include <a_samp>
#include <CVeh>
public OnFilterScriptInit()
{
start_sveh(); // <- VERY IMPORTANT!
CreateRepairPickup(1248, -1332.5400,15.0657,14.1484, "Repair");
CreateChangeVeh(1317, 411, -1304.8049, -12.0391, 14.1484, "Infernus");
CreateNitroPickup(-1321.2589,3.0220,14.1484,"Nitro");
return 1;
}
/*public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}*/
NOTE: To make this include work properly, please, add #include <GetVehicleColor> to your scripts.
-Screenshot/Video:
[ame]http://www.youtube.com/watch?v=tCA-8zNn95Q[/ame]
-Download:
Download from Pastebin.
Download GetVehicleColor by RyDeR` (required).
-Credits:
-Me.
-RyDeR` for GetVehicleColor.
That's all folks.
Re: CreateChangeVeh v0.3 (New functions!) -
Kaperstone - 23.12.2011
nice
i like the idea...
Re: CreateChangeVeh v0.3 (New functions!) -
Geryy - 24.12.2011
Big thanks for mp3 10mb inside archive.
Respuesta: Re: CreateChangeVeh v0.3 (New functions!) -
[DOG]irinel1996 - 24.12.2011
Quote:
Originally Posted by Geryy
Big thanks for mp3 10mb inside archive.
|
Uyy, sorry.
Reuploading...
Re: CreateChangeVeh v0.3 (New functions!) -
Lorenc_ - 24.12.2011
Pastebin please
if you're using ryders work, you better ask him since you're linking the download to a site that pays you yet, his work is inside.
Respuesta: CreateChangeVeh v0.3 (New functions!) -
jurgen - 24.12.2011
this idea is in MTA xD great job!
Re: CreateChangeVeh v0.3 (New functions!) -
serdar189 - 24.12.2011
eline sağlık good
Respuesta: Re: CreateChangeVeh v0.3 (New functions!) -
[DOG]irinel1996 - 24.12.2011
Quote:
Originally Posted by Lorenc_
Pastebin please
if you're using ryders work, you better ask him since you're linking the download to a site that pays you yet, his work is inside.
|
Added new mirror.
Yes, but inside the .rar, I have included
GetVehicleColor, too.
Re: CreateChangeVeh v0.3 (New functions!) -
Edvin - 24.12.2011
Very nice!
Probably i will use it
Re: Respuesta: Re: CreateChangeVeh v0.3 (New functions!) -
Lorenc_ - 09.01.2012
Quote:
Originally Posted by irinel1996
Added new mirror.
Yes, but inside the .rar, I have included GetVehicleColor, too.
|
How is that a good thing? File serve is a way to get money from downloads I assume. Ryders work is contained within the download meaning your gaining profit from his work. Ask him for permission or upload to solidfiles... All download links with file serve shouldn't contain other peoples work.