[FilterScript] Dynamic Weapon Shop
#1

Dynamic Weapon Shop
Just made this quick. You can go in game and create a weapon shop. It will save and load when server restart..



Contains:
* Only 1 command. /WeapMenu - Creates the 'Weapon shop'
* Saves + Loads
* You can create unlimited, just increase the MAX_WEAPMENUS
* Didn't add many weapons, I'll let you do that


Screen Shots:

http://tinypic.com/r/2ccs85y/7


Credits:
****** - sscanf
ZeeX - zcmd
Incognito - streamer plugin


Usage:
Simple, add this as your first filterscript, load it up.
Go in game and type /weapmenu. It will create a 'Skull' that is the pickup ( you can change it ), and when you enter that pickup, a dialog with weapons to buy will appear.

Don't release without my permission and keep the credits. Thanks!


Bugs | Problems:
No bugs, just remember to put the correct files on the correct places.


Download:
Dynamic Weapon Shop
Reply
#2

Good work. Nice, i think you saw my post about this on the "Weapon Shop" topic. :S
Reply
#3

Quote:
Originally Posted by Tee
Посмотреть сообщение
Good work. Nice, i think you saw my post about this on the "Weapon Shop" topic. :S
Yes i did. Erm, credits to you for the post :P
Reply
#4

Lol Thanks.
Reply
#5

Very Nice, I'm going to use this for my Donators :P
Reply
#6

^ Thanks. If y'all want any extra features, let me know

EDIT: @ bottom post:
The idea has existed for a long time . But anyways, credits to you for seeing your topic
Reply
#7

Mind giving me credits for the IDEA? Thanks. ¬¬
Reply
#8

Past bin??
Reply
#9

how do i add more weapons? i tried addming more code like this, case 18:
{
if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid, COLOR_RED, "nice try broke bitch!");

GivePlayerWeapon(playerid, 1, 5000);
GivePlayerMoney(playerid, - 5000);
}


but it didn't work, please let me know...
Reply
#10

Quote:
Originally Posted by jtweak
Посмотреть сообщение
how do i add more weapons? i tried addming more code like this, case 18:
{
if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid, COLOR_RED, "nice try broke bitch!");

GivePlayerWeapon(playerid, 1, 5000);
GivePlayerMoney(playerid, - 5000);
}


but it didn't work, please let me know...
Did you change the ShowPlayerDialog else there wouldn't be any case 18...:S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)