SA-MP Forums Archive
[Include] CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) (/showthread.php?tid=284787)



CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - [DOG]irinel1996 - 20.09.2011

Hi people. :P
Here is the second version of my include.
Well, with that you can change the vehicle like in MTA, with pickups.

-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.


NOTE: The max pickups are 500, 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!
CreateChangeVeh(1317, 568, -1278.9349,8.3187,14.0159,"Bandito"); //It'll give one Bandito.
CreateChangeVeh(1317, 411, -1269.6934,-0.9024,14.0159,"Infernus"); //It'll give one Infernus.
return 1;
}
-Screenshot/Video:
http://imageshack.us/photo/my-images/20/43925054.jpg/ <- NEW screenshot, v0.2
[ame]http://www.youtube.com/watch?v=iLofTgdU7qE[/ame] <- OLD video, v0.1

-Download:
http://www.fileserve.com/file/axvsy3T

-Credits:
-Me, irinel1996.

That's all.
Remember, that's v0.2

Best regards!

Atte. irinel1996


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - |_ⒾⓇⓄN_ⒹⓄG_| - 20.09.2011

its awesome!!!
ill use it


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - Edvin - 20.09.2011

usefull for fast vehicle change!)

Good Job!


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - System64 - 20.09.2011

dude this is fucking awesome, I was wondering about this, now it's here


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - Epic_Mickey - 20.09.2011

Nice man!


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - [DOG]irinel1996 - 20.09.2011

Hehe, thanks all.
If you have suggestions, just let a comment.


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - TheArcher - 20.09.2011

I suggest to change the host file. But good job.


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - [DOG]irinel1996 - 20.09.2011

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
I suggest to change the host file. But good job.
Haha... Good suggestion.
But unfortunately I need that host, for a little reward.


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - Akshay_Papa - 21.09.2011

Awesome .


Re: CreateChangeVeh v0.2 || (Change veh like in MTA, with pickup) - morris91 - 21.09.2011

Very good. nice release.