28.08.2011, 13:07
Hi people. :P
Here is my first include. :O
Well, with that you can change the vehicle like in MTA, with pickups or any other script.
-Info:
ChangeVeh(playerid, NewVehID); <- NewVehID, you must put the ID of the new vehicle model.
-Example:
-Video:
[ame]http://www.youtube.com/watch?v=iLofTgdU7qE[/ame]
-Download:
http://www.megaupload.com/?d=5TNCBD80
-Credits:
-Me, irinel1996.
-sergio_team
That's all.
Remember, that's v0.1
Greetings for Spain.
Atte. irinel1996
Here is my first include. :O
Well, with that you can change the vehicle like in MTA, with pickups or any other script.
-Info:
ChangeVeh(playerid, NewVehID); <- NewVehID, you must put the ID of the new vehicle model.
-Example:
pawn Код:
#define FILTERSCRIPT
//By irinel1996.
#include <a_samp>
#include <CVeh>
new TestSFA;
public OnFilterScriptInit()
{
TestSFA = CreatePickup(1559,14,-1278.8013,8.0886,14.1484);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == TestSFA)
{
ChangeVeh(playerid, 522); //It'll create a NRG-500.
return 1;
}
return 1;
}
[ame]http://www.youtube.com/watch?v=iLofTgdU7qE[/ame]
-Download:
http://www.megaupload.com/?d=5TNCBD80
-Credits:
-Me, irinel1996.
-sergio_team
That's all.
Remember, that's v0.1
Greetings for Spain.
Atte. irinel1996