[FilterScript] Weapon Dealers
#1

Weapon Dealers


This is another dynamic system i have done. You can create weapon dealers and set up which weapons they can sell, aswell as ammo and cost, each dealer can carry up to 10 weapons. There's also a rcon menu which gives full control over them.

Configuration

  MySQL Information
  • #define MYSQL_HOST - Your MySQL host, you may change the address at line 26.
  • #define MYSQL_USER - Your user name.
  • #define MYSQL_DATABASE - Your database name.
  • #define MYSQL_PASSWORD - Your DB password.
  Filterscript Settings
  • #define MAX_DEALERS - The maximum amount of dealers, by default it's 500.
Features
  • Weapon dealers can have up to 10 different weapons, including the cost & price of each weapon.
  • The system is totally dynamic. Rcon admins got full control over weapon dealers and can edit them at any time.
  • You can use any skin for weapon dealers.
  • 3D Text Label showing their id and command to be used.
  • Usage of MySQL.
Commands

CommandDescriptionRestriction
/weaps
Will show the weaps dialog.
None.
/test
Will give you $10,000.
Rcon Admins.
/dmenu
Rcon management panel.
Rcon Admins.
Functions

FunctionDescription
CreateDealer(Skin, Float:X, Float:Y, Float:Z, Float:Angle, World) Will create a dealer, obviously.
RemoveDealer(dealerid) Will remove/destroy a dealer.
How to set a dealer's Weapons/Ammo/Cost



A dealer's weapons



Some weapon dealers



RCON Panel



Includes/Plugins

MySQL R39-6
I-ZCMD
foreach 0.4.1 standalone

Download

  Filterscript  dealers.sql
Reply
#2

Amzing.
Reply
#3

Another useful Filterscript!!! keep it up jelly23!
Reply
#4

Quote:
Originally Posted by ALiScripter
Посмотреть сообщение
Amzing.
Quote:
Originally Posted by RyderX
Посмотреть сообщение
Another useful Filterscript!!! keep it up jelly23!
Thanks guys.
Reply
#5

Good Job .
Reply
#6

Good.
Reply
#7

Can anyone tell me what dialogs are these??
I think it is not samp default dialogs..
Reply
#8

Quote:
Originally Posted by Micko123
Посмотреть сообщение
Can anyone tell me what dialogs are these??
I think it is not samp default dialogs..
Ofc they are... it's just a different samp gui.
Reply
#9

Updated.
Reply
#10

Good work, it's useful, thanks mate.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)