SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 22/02/2013, 08:28 PM   #1
Private200
High-roller
 
Private200's Avatar
 
Join Date: May 2012
Posts: 1,176
Reputation: 211
Default Weapons+Skins Pack Filterscript

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


Code:
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!

Last edited by Private200; 22/02/2013 at 10:32 PM.
Private200 is offline   Reply With Quote
Old 22/02/2013, 09:06 PM   #2
thefatshizms
High-roller
 
thefatshizms's Avatar
 
Join Date: Dec 2011
Location: England
Posts: 1,746
Reputation: 259
Default Re: Weapons Pack Filterscript

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
__________________
SFCNR ******* | SFCNR Forum
thefatshizms is offline   Reply With Quote
Old 22/02/2013, 09:11 PM   #3
PabloDiCostanzo
Huge Clucker
 
PabloDiCostanzo's Avatar
 
Join Date: Feb 2013
Location: Argentina
Posts: 307
Reputation: 8
Default Re: Weapons Pack Filterscript

Nice work, good job dude.
PabloDiCostanzo is offline   Reply With Quote
Old 22/02/2013, 09:18 PM   #4
Private200
High-roller
 
Private200's Avatar
 
Join Date: May 2012
Posts: 1,176
Reputation: 211
Default Re: Weapons Pack Filterscript

Quote:
Originally Posted by thefatshizms View Post
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.
Private200 is offline   Reply With Quote
Old 22/02/2013, 10:15 PM   #5
Private200
High-roller
 
Private200's Avatar
 
Join Date: May 2012
Posts: 1,176
Reputation: 211
Default Re: Weapons Pack Filterscript

2V has been released!

Changelogs


Code:
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
Private200 is offline   Reply With Quote
Old 22/02/2013, 10:23 PM   #6
Onfroi
Banned
 
Join Date: Jan 2012
Location: Dallas, Texas
Posts: 1,506
Reputation: 226
Default Respuesta: Weapons Pack Filterscript

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
Onfroi is offline   Reply With Quote
Old 23/02/2013, 08:35 AM   #7
Private200
High-roller
 
Private200's Avatar
 
Join Date: May 2012
Posts: 1,176
Reputation: 211
Default Re: Respuesta: Weapons Pack Filterscript

Quote:
Originally Posted by art123 View Post
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.
Private200 is offline   Reply With Quote
Old 11/03/2013, 01:37 PM   #8
Private200
High-roller
 
Private200's Avatar
 
Join Date: May 2012
Posts: 1,176
Reputation: 211
Default Re: Weapons Pack Filterscript

No comments?
Private200 is offline   Reply With Quote
Old 11/03/2013, 02:04 PM   #9
iFear
Huge Clucker
 
iFear's Avatar
 
Join Date: Jan 2013
Location: Earth
Posts: 316
Reputation: 39
Default Re: Weapons Pack Filterscript

Nice FS dude.
__________________
One doesn't Simply Walk on Footpaths,
When Girls are driving.
iFear is offline   Reply With Quote
Old 12/03/2013, 02:00 AM   #10
greentarch
Big Clucker
 
Join Date: Feb 2013
Posts: 167
Reputation: 39
Default Re: Weapons Pack Filterscript

Nice and simple, but instead of
pawn Code:
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 Code:
new
    weapons[ ] = { 1, 2, 3 };
GivePlayerWeapon( playerid, weapons[ listitem ], 2 );
greentarch is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Pedido] FilterScript save weapons. Ley Português/Portuguese 0 04/10/2012 08:15 PM
[FilterScript] Weapons Filterscript by ee100/Dolph (Dialog) Dolph Filterscripts 16 30/06/2012 05:36 PM
A filterscript to disable weapons. rubenejbr General 6 06/06/2012 06:52 AM
Graffiti Weapons Pack Guga. Everything and Nothing 0 01/03/2012 04:26 PM


All times are GMT. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.