Dynamic Weapon Shop - [L3th4l] - 07.02.2011
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
Re: Dynamic Weapon Shop -
Tee - 07.02.2011
Good work. Nice, i think you saw my post about this on the "Weapon Shop" topic. :S
Re: Dynamic Weapon Shop - [L3th4l] - 07.02.2011
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
Re: Dynamic Weapon Shop -
Tee - 07.02.2011
Lol Thanks.
Re: Dynamic Weapon Shop -
TheNotorius - 08.02.2011
Very Nice, I'm going to use this for my Donators :P
Re: Dynamic Weapon Shop - [L3th4l] - 09.02.2011
^ 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
Re: Dynamic Weapon Shop -
SchurmanCQC - 09.02.2011
Mind giving me credits for the IDEA? Thanks. ¬¬
Re: Dynamic Weapon Shop -
Naruto_Emilio - 30.04.2011
Past bin??
Re: Dynamic Weapon Shop -
jtweak - 21.11.2011
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...
Re: Dynamic Weapon Shop -
§с†¶e®РµРe - 19.12.2011
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