10.06.2012, 08:24
IsPlayerInRangeOfPoint
Код:
IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z)
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, /*this is X not range! */-1571.30004883,712.79998779,6.80000019, 1))
{
ShowPlayerDialog(playerid,DIALOG_ATM,DIALOG_STYLE_LIST,"ATM Options","Withdraw Money\nDeposit Money","Select","Cancel");
return 1;
}