SA-MP Forums Archive
[FilterScript] [FS] Random Weaponsets - 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] Random Weaponsets (/showthread.php?tid=65708)



[FS] Random Weaponsets - Littl3j0hNy - 15.02.2009

Random Weaponsets

Hi Community,
I and E4sTsId3 (LE Script Team) had scripted
a Random Weaponsets System.
And we hope you like it !

_________________________________________________

Our Random Weaponsets System gives you
at the Spawn a Random Weaponset !

The System has 10 Weapon Kits, but you can
add more if you want !


_________________________________________________

Download:




_________________________________________________

Credits:

- Kye (for making SA:MP)

_________________________________________________


Contact over ICQ:
Littlejohny: 492-670-404
E4sTsId3/papagei9: 456-118-961

- The LE Script Team



Re: [FS] Random Weaponsets - aspire5630 - 24.04.2009

Ok, kool, so when you spawn, you will start with different weapon sets?


Re: [FS] Random Weaponsets - Littl3j0hNy - 24.04.2009

Quote:
Originally Posted by aspire5630
Ok, kool, so when you spawn, you will start with different weapon sets?
Yes. You become a Random Weapon Set.
They are defined in the Script.

- LJ


Re: [FS] Random Weaponsets - Weirdosport - 24.04.2009

This bit here looks a bit.. weird to me...

pawn Код:
stock SetPlayerWeaponPack(playerid)
{
    new set = MakeWeaponPack();
    if(set < 1 || set > 10)
    {
      MakeWeaponPack();
    } else {
        GivePlayerWeaponSet(playerid, set);
    }
    return 1;
}
Surely you only need 1 random number, not 3 added together? In general it doesn't really make sense what you've done..


Re: [FS] Random Weaponsets - Littl3j0hNy - 25.04.2009

Hi,
There are 10 Weapon Kits in the Filterscript. But you can add more.
Look into the Script and add more Weapon Kits.

- LJ