17.12.2012, 19:20
By the way, which is the line?
pawn Код:
CMD:elevator(playerid, params[])
{
if(PlayerInfo[playerid][pDonateRank] >= 1 || PlayerInfo[playerid][pAdmin] >= 4)
{
if(IsPlayerInRangeOfPoint(playerid, 1.5, -1707.7603,1018.1302,17.9178) || IsPlayerInRangeOfPoint(playerid, 1.5, 2476.7161,1796.8595,1541.7156))
{
ShowPlayerDialog(playerid, 302, DIALOG_STYLE_LIST, "{00BFFF}VIP Housing", "VIP Housing\nJay's Awesome House\nGround Floor", "Select", "Cance");
return 1;
}
else return SendClientMessage(playerid, COLOR_LIGHTRED, " You are not a donator!");
}
return 1;
}