Please someone Arrange this Command !
#1

Please Someone Arrange this Command to Proper Order !
Код:
{
	if (strcmp("/guns", cmdtext, true, 10) == 0)
	{
	ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "AmmuNation", "Pistols\nSub-Machine Gun\nShotguns\nArmours\nSMG\nAssault", "Select", "Cancel");
	return 1;
	}
	return 1;
	}
And I want this System in the above code-
Код:
{
    if(IsPlayerInRangeOfPoint(playerid, Range, My Coords X, Y, Z))
    {
        SendClientMessage(playerid,0xFFFFFFFF,"You are not in the area");
    }
    return 1;
}
So when a Player type command /guns a Message will show "You are not in the area" But if the player is in the Range Area he will get the guns dialog.
Reply


Messages In This Thread
Please someone Arrange this Command ! - by Adarsh007 - 11.10.2014, 03:54
Re: Please someone Arrange this Command ! - by TheSimpleGuy - 11.10.2014, 05:10
Re: Please someone Arrange this Command ! - by Shaktimaan - 11.10.2014, 05:39
Re: Please someone Arrange this Command ! - by oskarunt - 11.10.2014, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)