Hi .
I Present you Andromada Interior.
THis FilterScript Is An andromada interior and when you press G Enter like that a passanger and you can Jump With Parachute.
PHP Code:
#define FILTERSCRIPT
#include <a_samp>
#if defined _BoBiTza_
Acest script este Creat de BoBiTza .
CopyRight Reserved pentru 2012-2015
Oricine il poate folosi doar daca nu sterge CopyRighturile Si Drepturile de Autor.
#endif
new hull;
new nett;
new stuf;
new soli;
new Float:x, Float:y, Float:z;
new Float:Pos[MAX_PLAYERS][3];
new Float:Angle[MAX_PLAYERS];
new Interior[MAX_PLAYERS];
forward moveandromada();
public OnFilterScriptInit()
{
soli = CreateObject(14548,3500.00000000,935.00000000,600.00000000,15.00000000,0.00000000,270.00000000); //object(cargo_test) (1)
nett = CreateObject(14550,3500.00000000,935.00000000,599.70001221,15.00000000,0.00000000,270.00000000); //object(cargo_netting) (2)
hull = CreateObject(14553,3496.00000000,935.00000000,600.00000000,15.00000000,0.00000000,270.00000000); //object(androm_des_obj) (2)
stuf = CreateObject(14552,3504.70996094,938.29980469,599.71997070,14.99633789,0.00000000,270.00000000); //object(cargo_stuff) (1)
moveandromada();
return 1;
}
public moveandromada()
{
MoveObject(soli,-3500.00000000,935.00000000,600.00000000,50);
MoveObject(nett,-3500.00000000,935.00000000,599.70001221,50);
MoveObject(hull,-3505.00000000,935.00000000,598.90002441,50);
MoveObject(stuf,-3495.00000000,938.29980469,599.71997070,50);
}
public OnFilterScriptExit()
{
DestroyObject(soli);
DestroyObject(nett);
DestroyObject(hull);
DestroyObject(stuf);
return 1;
}
public OnObjectMoved(objectid)
{
if((objectid) == soli)
{
DestroyObject(soli);
DestroyObject(nett);
DestroyObject(hull);
DestroyObject(stuf);
soli = CreateObject(14548,3500.00000000,935.00000000,600.00000000,15.00000000,0.00000000,270.00000000);
nett = CreateObject(14550,3500.00000000,935.00000000,599.70001221,15.00000000,0.00000000,270.00000000);
hull = CreateObject(14553,3496.00000000,935.00000000,600.00000000,15.00000000,0.00000000,270.00000000);
stuf = CreateObject(14552,3504.70996094,938.29980469,599.71997070,14.99633789,0.00000000,270.00000000);
moveandromada();
}
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_PASSENGER && GetVehicleModel(GetPlayerVehicleID(playerid)) == 592)
{
GetObjectPos(soli,x,y,z);
GivePlayerWeapon(playerid,46,1);
SetPlayerPos(playerid,x-10,y,z+1);
return 1;
}
return 0;
}
#pragma unused Angle
#pragma unused Pos
#pragma unused Interior
Is it true that it can fly moving like that? What are the command's to make it fly in the air?