About the weapon shop script.
#4

Quote:
Originally Posted by SuNL1GhT
Посмотреть сообщение
You mean this?

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/weapons", cmdtext, true, 10) == 0)
	{
		ShowPlayerDialog(playerid, 20321, DIALOG_STYLE_LIST, "Weapons Shop","Pistol($1000)\nSilenced Pistol($2000)\nDesert Eagle($5000)\nShotgun($2500)\nSawn-off Shotgun($5000)\nCombat Shotgun($7500)\nUzi Machine Gun($5000)\nMP5($7500)\nTec-9($10000)\nAK-47($10000)\nM4($20000)","Buy","Cancel");
		return 1;
	}
	return 0;
}
No mate I'm talking about the script you have made on OnDialogResponse. It has round brackets, which are wrong. Use the flower brackets instead or else while compiling you will get bunch of errors.

-FalconX
Reply


Messages In This Thread
About the weapon shop script. - by SuNL1GhT - 25.02.2012, 12:50
Re: About the weapon shop script. - by FalconX - 25.02.2012, 21:54
Re: About the weapon shop script. - by SuNL1GhT - 26.02.2012, 01:15
Re: About the weapon shop script. - by FalconX - 26.02.2012, 01:17
Re: About the weapon shop script. - by SuNL1GhT - 26.02.2012, 01:34
Re: About the weapon shop script. - by FalconX - 26.02.2012, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)