{Help} Gunshop
#3

Quote:
Originally Posted by MatthewGarrowo
I put in a gun shop in my server but i can type /buygun anywhere i want it so i can buy guns in the ammu nation how do i do this
I guess this is what you are using

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/buygun", cmdtext, true, 11) == 0)
if(IsPlayerInRangeOfPoint(playerid, 7.0, x, y, z)) //example: if(IsPlayerInRangeOfPoint(playerid, 7.0, 291.8240,-83.3971,1001.5156))
{
ShowPlayerDialog(playerid, 20320, DIALOG_STYLE_LIST, "Weapon Shop", "Melee weapons\nPistols\nShotguns\nSubmachine Guns\nAutomatic Rifles\nSpecials\nBombs\nHealth and Armour", "Select", "Exit");
return 1;
}
Goodluck,

Jeroen.
Reply


Messages In This Thread
{Help} Gunshop - by MatthewGarrowo - 12.05.2010, 20:20
Re: {Help} Gunshop - by Faith - 12.05.2010, 20:23
Re: {Help} Gunshop - by playbox12 - 12.05.2010, 20:26
Re: {Help} Gunshop - by MatthewGarrowo - 12.05.2010, 20:52
Re: {Help} Gunshop - by playbox12 - 12.05.2010, 20:59
Re: {Help} Gunshop - by MatthewGarrowo - 13.05.2010, 00:18
Re: {Help} Gunshop - by Onyx09 - 13.05.2010, 06:32
Re: {Help} Gunshop - by MatthewGarrowo - 14.05.2010, 15:15

Forum Jump:


Users browsing this thread: 3 Guest(s)