[HELP]dialog question - 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]dialog question (
/showthread.php?tid=508549)
[HELP]dialog question -
Luca12 - 22.04.2014
Hello everyone. I was make dialog enter and exit and know is the problem when I enter in some building I get fast dialog for exit if you know what I mean, and also when I exiting. So my question is how can I make when I enter and when 5 or 6 seconds pass I get dialog for exit also for exit. When I exit I wait few seconds and then I get dialog. Thanks
Re: [HELP]dialog question -
Galletziz - 22.04.2014
pawn Код:
forward dialogtoenterbuilding(playerid);
public dialogtoenterbuilding(playerid)
{
ShowPlayerDialog(playerid, /*....*/)
}
if(IsPlayerInRangeOfPoint(playerid,float:range, x,y,z))
{
SetTimer("dialogtoenterbuilding",5000,false);
}
if i understand try with this..
enjoy.