SA-MP Forums Archive
[FilterScript] Simple weapon spawner (with dialog, beginner friendly!) - 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] Simple weapon spawner (with dialog, beginner friendly!) (/showthread.php?tid=207495)



Simple weapon spawner (with dialog, beginner friendly!) - Bu$ter - 06.01.2011

I browsed my computer files and found this fs which i maded somewhere last summer for 0.3a..this is so simple that even beginners can understand this: Weapon Spawner with dialog.

Command: /weapons

Latest Version: 1.1, Release 2 (Admins only use - version)
SA-MP Version: 0.3 Compatible (including newest 0.3c)
Credits: Bu$ter


Features:
- Dialog based weapon spawning.
- Guns in Weapon ID number order (Starting from 4-)
- Currently working for all users, can be easily changed for RCON admins only.
- Contains most used weapons in SA-MP.


How to install & use:

1) Download file and place it to your filterscripts folder
2) Compile .pwn file to .amx and write to your server.cfg behind filterscripts: weapons
3) Start your server and connect there.
(VERSION 1.1 ONLY:) Login in as RCON admin
4) Type /weapons and weapon list appears. Choose your weapon and press "spawn"

Screens



Terms of Use:
You are free to modify this script for your use, however leave credits to me.

When you open this file you see its quite simple: all of the things have been placed to one dialog. I think i'm releasing soon newer version about this since i have learned much about PAWN from last summer. New version will have Sub-Dialogs and some useful commands and something more..dunno about it yet..anyways enjoy this

Download:

Version 1.1:
http://up.servut.us/28222

Version 1.0:
http://up.servut.us/27648
http://www.megaupload.com/?d=F87SPL9J
http://www.filefront.com/17757001/
http://www.mediafire.com/?76fkbi008uun160

What's new in version 1.1?

In 1.1 version only rcon admins can use the command. There is nothing more new stuff.


Re: Simple weapon spawner (with dialog, beginner friendly!) - Lorenc_ - 06.01.2011

Nice release really good.


Re: Simple weapon spawner (with dialog, beginner friendly!) - ExeC - 06.01.2011

Nice, useful.


Re: Simple weapon spawner (with dialog, beginner friendly!) - HyperZ - 06.01.2011

Good job.


Re: Simple weapon spawner (with dialog, beginner friendly!) - Haydz - 06.01.2011

Simple but nice, good work man!


Re: Simple weapon spawner (with dialog, beginner friendly!) - Bu$ter - 06.01.2011

Thanks all


Re: Simple weapon spawner (with dialog, beginner friendly!) - murdoxix - 28.01.2011

GOOD GOOD FS!

Whats i need do for only admins can use? THANKS!


Re: Simple weapon spawner (with dialog, beginner friendly!) - Aleluja - 28.01.2011

Nice FS!


Re: Simple weapon spawner (with dialog, beginner friendly!) - schillow - 28.01.2011

Cool


AW: Re: Simple weapon spawner (with dialog, beginner friendly!) - .LaaRs. - 11.02.2011

Quote:
Originally Posted by murdoxix
Посмотреть сообщение
GOOD GOOD FS!

Whats i need do for only admins can use? THANKS!
only write in front of
the cmd:
if(isPlayerAdmin(playerid)){

and at the end:
}


Re: Simple weapon spawner (with dialog, beginner friendly!) - ilikenuts - 09.11.2011

NOT GOOD, Reason:
1. When You buy a weapon, it's free(no cash).
2. Players will abuse this.
3. Why you put FORBIDDEN weapon? Rocket Launcher.. etc.
-1


Re: Simple weapon spawner (with dialog, beginner friendly!) - ErzaNatsu - 01.07.2012

Nice !


Re: Simple weapon spawner (with dialog, beginner friendly!) - Waltraud - 16.02.2015

Watch returning values and learn programming!!!!

(all other dialogs after yourґs, wont work if you programming it like this !!!!! )

spent 2 hours to fix this little bullshit... hold the default guidelines !!!

Link : https://sampwiki.blast.hk/wiki/OnDialogResponse_DE