Command Problem
#1

What have i done wrong here that it says me You have entered a wrong command?
Код:
cmd:vip(playerid, params[])
{
	if(PlayerInfo[playerid][pDonateRank] == 1)
	{
		ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Features", "Vehicle Repairment($100)\nVehicle Refillment($100)\nClothes Corner(Free)\nVIP Color\nAdvertise", "Select", "Cancel");
	}
	else if(PlayerInfo[playerid][pDonateRank] == 2)
	{
		ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Features", "Vehicle Repairment($50)\nVehicle Refillment(Free)\nWeapons Pointshop\nClothes Corner\nVIP Color\nAdvertise\nFree Name Change\nFree Ph Change\nAdvertise", "Select", "Cancel");
	}
	else if(PlayerInfo[playerid][pDonateRank] >= 3)
	{
		ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Features", "Vehicle Repairment(Free)\nVehicle Refillment(Free)\nWeapons Pointshop\nClothes Corner\nVIP Color\nFree Name Change\nFree Name Change\nFree Ph Change\nAdvertise", "Select", "Cancel");
	}
	else if(PlayerInfo[playerid][pDonateRank] < 1)
	{
	    SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use this command!");
	}
	return 1;
}
Reply


Messages In This Thread
Command Problem - by Laure - 23.10.2012, 13:26
Re: Command Problem - by [HK]Ryder[AN] - 23.10.2012, 13:37
Re: Command Problem - by Faisal_khan - 23.10.2012, 13:40
Re: Command Problem - by Laure - 23.10.2012, 13:44

Forum Jump:


Users browsing this thread: 1 Guest(s)