Please someone Arrange this Command !
#4

This should work:

PHP код:
if (strcmp("/guns"cmdtexttrue10) == 0)
{
    if(
IsPlayerInRangeOfPoint(playeridRangeMy Coords XYZ))
    {
       
ShowPlayerDialog(playeridDIALOGIDDIALOG_STYLE_LIST"AmmuNation""Pistols\nSub-Machine Gun\nShotguns\nArmours\nSMG\nAssault""Select""Cancel");
    }
    else
    {
         
SendClientMessage(playerid,0xFFFFFFFF,"-[ You are not in the area ]-");
    }
    return 
1;

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)