help with dialog command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help with dialog command (
/showthread.php?tid=430827)
help with dialog command -
icko202 - 15.04.2013
I wanna make command when you type it and you are inrange of point to show dialog if u are not inrange to say u are not inrange pls help
Re: help with dialog command -
park4bmx - 15.04.2013
For
106 time this is not a
SCRIPT REQUEST thread !
AW: help with dialog command -
ulbi1990 - 15.04.2013
What is so hard on it?
pawn Код:
Your command here
{
if(IsPlayerInRangeOfPoint(playerid,range,x,y,z))
{
ShowPlayerDialog(playerid,DIALOGID,DIALOG_STYLE,capture[],text[],button1,button2);
}
else
{
SendClientMessage(playerid,color,text[]);
}
return 1;
}