02.12.2009, 09:24
On top of the script:
Under OnGameModeInit:
At the end of your script:
pawn Код:
forward CheckPlayerPos(playerid);
pawn Код:
SetTimer("CheckPlayerPos", 3000, 1);
pawn Код:
public CheckPlayerPos(playerid)
{
IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z)
{
// The DialogShow code here.
}
return 1;
}