[FilterScript] Simple Weapon System [WITH DIALOG]
#1

Hello SA:MP,
I am a beginner and I scripted a weapon system for my RP server...
Quote:

It has "RANGE" so if you want to use it on a DM server just remove the line: "IsPlayerInRangeOfPoint..."

There are also PRICES which shows you how much money they cost..

Command(s):
/buygun
/prices

ScreenShot(s):




Download:
http://pastebin.com/LQyaPQGj

Thank you
Reply
#2

Not bad
Reply
#3

Thank you
Reply
#4

Goood one! U can also put prices in front of them (/buygun), it would be easier! +rep
Reply
#5

Thank you and I will edit it as soon as I can
Reply
#6

Good job!
Reply
#7

Thank you guys
Reply
#8

Quote:

ShowPlayerDialog(playerid, GUNSHOP, DIALOG_STYLE_LIST,"Gun Shop", "Brass Knuckles $25\nBaseball Bat $25\nSilenced 9mm $500\nShoutgun $600\nRifle $1000","Buy","Cancel");

This is something you can do. I think it looks better, and better weapons if you want a realistic roleplay server


And i used some lines of this filterscript to finish my gunshop on my server i did like:
Quote:

CMD:gunshop(playerid, params[])
{
if(BizInfo[GetPVarInt(playerid,"InBiz")][bType] != 4)
{
SendClientMessageEx(playerid, COLOR_GRAD2, " You are not at the GunShop!");
return 1;
}
ShowPlayerDialog(playerid, GUNSHOP, DIALOG_STYLE_LIST,"Gun Shop", "Brass Knuckles $25\nBaseball Bat $25\nSilenced 9mm $500\nShoutgun $600\nRifle $1000","Buy","Cancel");
return 1;
}

Reply
#9

Good...
Reply
#10

Great work, keep it up.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)