01.08.2012, 19:44
If you want to just make a cmd or a text using IsPlayerInRangeOfPoint, yes you can set up the coords where you want the cmd to be working, maybe like /help, if it's not what you're asking be more descriptive.
EDIT: not sure if you asking for a example of IsPlayerInRangeOfPoint, but here an example:
EDIT: not sure if you asking for a example of IsPlayerInRangeOfPoint, but here an example:
pawn Код:
CMD:help(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, x y z)
ShowPlayerDialog(playerid, yourdialogid, DIALOG_STYLE_LIST, "Help Menu", "BlahBla", "Ok", "Cancel";)
GivePlayerPenis(playerid, blowjob);
return 1;
}