01.04.2014, 02:09
SA:MP Jackass Script
by Jingles although it is derp-easy
In my frustration and headaches of scripting bigger things, I decided to jack ** some and take a little step aside and do something for the swingers.
Here's a JackArse script for those who love AssJacks.
Cheero's,
Jingles
Here's the script:
Such lovely colors:
PHP код:
/* Jack Ass script by Jingles
Note: Incognito's Streamer has not been used since it doesn't support the attaching of objects to vehicles (I believe...).
*/
#include <a_samp>
#include <ZCMD>
CMD:jackass(playerid, params[])
{
new Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); // X, Y and Z coordinates.
new cart = CreateVehicle(411, Pos[0], Pos[1], Pos[2], 0, -1, 0, 0); // This creates an infernus. Nice and fast.
new mCart[1]; // Arrayed in case you want to add camera's / other fancy things.
mCart[0] = CreateObject(1572, -27.12100, 35.42212, 1.80573, 0.00000, 0.00000, 0.00000);
AttachObjectToVehicle(mCart[0], cart, 0, 0, 0, 0.00000, 0.00000, 0.00000);
LinkVehicleToInterior(cart, GetPlayerInterior(playerid) + 1); // The person in this interior will get derped but what the hell.
PutPlayerInVehicle(playerid, cart, 0);
return 1;
}