Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
It will work anywhere BUT near the coords, because that's simply what you scripted. If the player is NOT (notice the exclamation mark) in range of the point, then show the dialog.
Posts: 1,099
Threads: 79
Joined: Nov 2011
Reputation:
0
if (PRESSED(KEY_CTRL_BACK))
{
if(IsPlayerInRangeOfPoint(playerid,5,-154.9131,2397.8865,42.5259)) return
ShowPlayerDialog(playerid,DIALOG_SHOP,DIALOG_STYLE _LIST,"Madness","Dialog does the stuff","Select", "Back");
}
return 1;
}
So it must be like this? But this doesn't work too.