22.06.2012, 11:25
Try this
pawn Код:
CMD:plattoys(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 4, 912.1011,1430.1176,-81.1762))
{
if(PlayerInfo[playerid][pDonateRank] < 4) return SendClientMessageEx(playerid, COLOR_WHITE, "* You are not a Platinum VIP");
ShowPlayerDialog(playerid, BUYTOYSPLAT, DIALOG_STYLE_MSGBOX, "Toy Store", "Welcome to the Platinum VIP Toy store! Here you can buy accessories to attach to your character.\n\nFirst, we will choose a slot to store the toy in.","Continue", "Cancel");
}
else
{
SendClientMessageEx( playerid, COLOR_WHITE, " You are not in the Platinum VIP Toys store !" );
}
return 1;
}