SA-MP Forums Archive
[FilterScript] RvVeapons - Dialogs - 39 Weapons. - 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] RvVeapons - Dialogs - 39 Weapons. (/showthread.php?tid=362689)



RvVeapons - Dialogs - 39 Weapons. - Rudy_ - 25.07.2012

Introduction
Hello Guys, i was scripting for my Gamemode and was working on Buyable Weapons from Dialog - lateron i thought to release it, So here's my 2nd filterscript enjoy it.
It Contains 39 Weapons (each weapon got their own price/coast)

Information
Present Weapons
pawn Код:
strcat(string,"\nBrass Knuckles 100$\nGolf Club 100$\nNightstick 100$\nKnife 250$\nBaseball Bat 100$\nShovel 100$\nPool Cue 250$");
        strcat(string,"\nKatana 250$\nChainsaw 500$\nDD-Dildo 250$\nDildo\nVibrator 250$\nSilveer Vibrator 250$\nFlowers 250$");
        strcat(string,"\nCane 250$\nGernade 1000$\nTear Gas 1000$\nMolotove Cocktail 1500$\n9mm 1000$");
        strcat(string,"\nSilenced 9mm 1000$\nDesert Eagle 3000$\nShotgun 1500$\nSawnoff Shotgun 3000$\nCombat Shotgun 3500$");
        strcat(string,"\nSMG/Uzi 3500$\nMP5 4000$\nAK47 5000$\nM4 5000$\nTec9 3000$\nCountry Rifle 2500$");
        strcat(string,"\nSniper Rifle 5000$\nRPG 7500$\nHS Rocket 7500$\nFlameThrower 7500$\nSatchel Charge 10000$");
        strcat(string,"\nSpray Can 1000$\nFire Extinguisher 100$\nCamera 200$\nParachute 200$");
Weapons not present
Код:
Minigun id 38
Detonator id 40
Night Vis Goggles 44
Thermal Goggles 45
Commands
- /Buyweapon(s)

Bugs
None - Help is aprreciated

ScreenShots

http://tinypic.com/r/dvoocn/6
http://tinypic.com/r/ifuyht/6

Download

Or
Pastebin


Re: RvVeapons - Dialogs - 39 Weapons. - [Twixx] - 25.07.2012

Not bad.


Re: RvVeapons - Dialogs - 39 Weapons. - muzammil777 - 25.07.2012

Very GOOD, I will Use it


Re: RvVeapons - Dialogs - 39 Weapons. - Rudy_ - 25.07.2012

Thanks both, my Second release


Re: RvVeapons - Dialogs - 39 Weapons. - _DucK_ - 25.07.2012

Its nice.
but you better make it using variables, like this:

enum WEP
{
price,
name[20]
};
new Weapons[][WEP] =
{
{100, "Knife"},
{400, "Pistol"},
{1000, "Shotgun"}
}

and to display all of them,.

new str[256];
for(new i; i<sizeof(Weapons); i++)
{
format(str, sizeof(str), "%s\n%d : %s", str, Weapons[i][price], Weapons[i][name]);
}
ShowPlayerDialog,,,, str


Re: RvVeapons - Dialogs - 39 Weapons. - Rudy_ - 25.07.2012

Thanks.
thanks for the feedback.
PS: if you got any idea what i should script please PM me (giving rep)


Re: RvVeapons - Dialogs - 39 Weapons. - Dasharkishanjan5 - 25.07.2012

Good.


Re: RvVeapons - Dialogs - 39 Weapons. - Excel™ - 25.07.2012

nice Rudy, alos of weapons to buy


Re: RvVeapons - Dialogs - 39 Weapons. - Rudy_ - 25.07.2012

Thanks


Re: RvVeapons - Dialogs - 39 Weapons. - Plovix - 25.07.2012

Nice job