[FilterScript] Weapons Pack Filterscript
#1

Hello guys.

This is my new release. I didn't knew what to make, so I made an easy one like this. There are weapons from each type, but I'll add more weapons in the next update. There are weapons from each type, except the grenades and some melee. I didn't add the grenades because I though they would be abused, but I will add if they will be requested.

Screenshots:







Credits:

Zeex - zcmd
thefatshizms - Giving me an idea of what to script
All others if I forgot some.

Download [1V Not outdated but less features then 2V]
Solidfiles Download
Pastebin Download

2V has been released!
Changelogs


Код:
Now users will be able to change their skin using this FS.
Main command has been changed into "/shop" because of the skins that has been added.
The filterscript supports all the 299 skins of SA:MP.
The unused color defines has been removed to evade lag.

___________________________________________

No bugs detected. Please report if you find one.
Screenshots:




Download [2V Updated]
Solidfiles mirror
Pastebin mirror

Thanks!
Reply
#2

Some tips:
  • Use a switch statement in both dialog id and list item
  • Why are you defining all those colors which you are not using?
  • Try not to ask for rep, that's what makes people not want to give you rep
And zeex_ not zeec lol



Anyway nice job
Reply
#3

Nice work, good job dude.
Reply
#4

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
Some tips:
  • Use a switch statement in both dialog id and list item
  • Why are you defining all those colors which you are not using?
  • Try not to ask for rep, that's what makes people not want to give you rep
And zeex_ not zeec lol



Anyway nice job
Right now i'm working on the V2 and there user will be able to chose between Weapons-Skins. I'll remove all the unused defined colors, but I just putted them to be there in case I would use them and then forgot to remove em'. Right now, I have much work related with the scripts and I think they will get messed up, so about the switch statement on the dialogs, I'll put em' in the V3 or V4, I ain't sure. Thank you though.
Reply
#5

2V has been released!
Changelogs


Код:
Now users will be able to change their skin using this FS.
Main command has been changed into "/shop" because of the skins that has been added.
The filterscript supports all the 299 skins of SA:MP.
The unused color defines has been removed to evade lag.

___________________________________________

No bugs detected. Please report if you find one.
Screenshots:




Download [2V Updated]
Solidfiles mirror
Pastebin mirror
Reply
#6

Very nice, I'll recommend doing one with the new feature, Model Preview, there's not too much Weapon FS with Model Preview, anyways this is a nice job
Reply
#7

Quote:
Originally Posted by art123
Посмотреть сообщение
Very nice, I'll recommend doing one with the new feature, Model Preview, there's not too much Weapon FS with Model Preview, anyways this is a nice job
Thanks. I'll try to do it on the next versions.
Reply
#8

No comments?
Reply
#9

Nice FS dude.
Reply
#10

Nice and simple, but instead of
pawn Код:
if ( listitem == 0 )
{
    GivePlayerWeapon( playerid, 1, 2 );
}

if ( listitem == 1 )
{
    GivePlayerWeapon( playerid, 2, 2 );
}

if ( listitem == 2 )
{
    GivePlayerWeapon( playerid, 3, 2 );
}
You can make it like
pawn Код:
new
    weapons[ ] = { 1, 2, 3 };
GivePlayerWeapon( playerid, weapons[ listitem ], 2 );
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)