19.12.2010, 07:27
I use it the way you do but this is how i do it:
I use IsPlayerInRangeOfPoint.
pawn Код:
bank = CreateDynamicCP( 2308.7785, -13.4947, 26.7421, 1.50, -1, -1, -1, 40.0);
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == bank)
{
if(IsPlayerInRangeOfPoint(playerid,10.0,2308.7785, -13.4947, 26.7421))
ShowPlayerDialog( playerid, bankdialog, DIALOG_STYLE_LIST,"BankMenu", "Balance\nDeposit\nWithdraw\nSell Gold", "Select", "Cancel" );
}
}