[FilterScript] [FS] aeroplane ejection system
#4

And also this would be working and simplier method
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if((newkeys & KEY_CROUCH))
    {
      if(IsAPlane(GetPlayerVehicleID(playerid))
      {
        GivePlayerWeapon(playerid,46,1);
        new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
        SetPlayerPos(playerid,pos[0],pos[1],pos[2]+30);
        GameTextForPlayer(playerid, "EJECTING", 5000, 5);
      }
    }
}
Reply


Messages In This Thread
[FS] aeroplane ejection system - by mister_ic3 - 12.01.2010, 16:47
Re: [FS] aeroplane ejection system - by Sergei - 12.01.2010, 16:52
Re: [FS] aeroplane ejection system - by mister_ic3 - 12.01.2010, 16:57
Re: [FS] aeroplane ejection system - by Sergei - 12.01.2010, 17:15
Re: [FS] aeroplane ejection system - by mister_ic3 - 12.01.2010, 17:26
Re: [FS] aeroplane ejection system - by MaykoX - 13.01.2010, 05:09
Re: [FS] aeroplane ejection system - by arjunaryas - 15.01.2010, 15:13
Re: [FS] aeroplane ejection system - by mister_ic3 - 15.01.2010, 16:05
Re: [FS] aeroplane ejection system - by ViruZZzZ_ChiLLL - 15.01.2010, 20:30
Re: [FS] aeroplane ejection system - by mister_ic3 - 24.02.2010, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)