[HELP]dialog question
#1

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
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)