SA-MP Forums Archive
[FilterScript] Andromada Interior, With G Pressing - 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)
+--- Thread: [FilterScript] Andromada Interior, With G Pressing (/showthread.php?tid=328235)



Andromada Interior, With G Pressing - BoBiTza - 24.03.2012

Hi .
[INFORMATION]

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.
Sorry for My Bad English
[Download:]

http://pastebin.com/i8XmxtLq

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:xFloat:yFloat: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(playeridnewstateoldstate)
{
    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 
VIDEO
http://*********/7NJdPwdeI1s?hd=1&t=6s
OR:


Re: Andromada Interior, With G Pressing - SuperYoni - 24.03.2012

Any pic?
video
but thx


Re: Andromada Interior, With G Pressing - lordturhan - 24.03.2012

I thinks its better to post as snippet.


Re: Andromada Interior, With G Pressing - Sting. - 24.03.2012

Is it true that it can fly moving like that? What are the command's to make it fly in the air?


Re: Andromada Interior, With G Pressing - BoBiTza - 24.03.2012

is not command fly Random