SA-MP Forums Archive
[FilterScript] [FS] Air Defense in Area51 | by Littlejohny,MaVe - 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] [FS] Air Defense in Area51 | by Littlejohny,MaVe (/showthread.php?tid=50140)



[FS] Air Defense in Area51 | by Littlejohny,MaVe - Littl3j0hNy - 08.09.2008

- Air Defense in Area 51 -
________________________________________


Hi Community, here is my new Script for You !

Instruction:
If you fly over the Area 51 in any Airplane
The Air Defense Tower shoots a Rocket to you !
On the Radar you see a Grey Square, that is the Rocket !
And you hear a Signal that say you a Rocket flies to you


Details:

* 1 Air Defense Tower
* 1 Rocket (if you fly over Area 51)
* 1 Sound (if the Rocket is flies)


[b]DOWNLOAD: AIR-DEFENSE.rar (PWN+AMX)
PASTEBIN: AIR-DEFENSE.rar (PWN)
________________________________________

| Pictures are Comming Soon with a Fun Edition |

Script by Littlejohny and MaVe from: www.GTA-Scripting.de.tt

Please give us Credits in your Gamemode

Thx and have Fun with it

- LJ



Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - Rks25 - 08.09.2008

Can you arrange a pastebin link?


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - Littl3j0hNy - 08.09.2008

Hi, i have add a Link ^^

Have Fun

_____________________

At Time is the Script a little bit Buggy^^ but we will fix it

- LJ


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - Klid - 16.09.2008

Sounds great, but i used a little something similar to this before and it had 1 big problem.

Someone could fly over it making the rockets chase them, while someone else sneaks into the Area 51 while the plane has the rockets distracted :P

Is it the same with this? or does it go after everyone?


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - Karlip - 16.09.2008

Quote:
Originally Posted by [DMR
Kaleem ]
Sounds great, but i used a little something similar to this before and it had 1 big problem.

Someone could fly over it making the rockets chase them, while someone else sneaks into the Area 51 while the plane has the rockets distracted :P

Is it the same with this? or does it go after everyone?
Everyone,it's an automated system that checks if anyone is in area,if you distract one rocket then you will still get hit,because there are infinite rockets.


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - Streetplaya - 16.09.2008

yeah /me is MaVe but i cant rename my name on these forums ;(


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - Littl3j0hNy - 16.09.2008

You can =)


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - avenger678 - 16.09.2008

Nice one,thx


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - webflashing - 16.09.2008

There is a little bug..

Once a rocket is sent to a player.. it is never sent again to THAT player..
And the rocket Doesn't AIM the player.. it's bad orientated..

Do you think you can solve this?

Cheers,
Web


Re: [FS] Air Defense in Area51 | by Littlejohny,MaVe - webflashing - 17.09.2008

Mmmmm... edit.

The missile is NO LONGER available for ANY player...

Once the target player dies, This timer does no longer work..

pawn Код:
public flug_timer()
{
    for (new playerid=0; playerid < MAX_PLAYERS; playerid++)
    if(flug_M[playerid] == 0 && IsPlayerConnected(playerid) && IsPlayerInArea(playerid, flugarea[0], flugarea[1], flugarea[2], flugarea[3])
    && GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 593
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 511 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 447
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 513 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 519
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 476 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 488
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 497 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 487
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 417 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 548 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 553
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 563 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 577
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 460 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 469
    || GetVehicleModel(GetPlayerVehicleID(playerid)) == 512 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 592)
    {
      if(flug_M[playerid] == 0)
      {
          flug_M[playerid] = 1;
            flug_lunch(playerid);
        }
    }
}
Does anybody know how to fix this..?. Cause i don't..

Cheers,
Web