Na az lenne a kérdésem hogy lehet megcsinálni azt hogy PL:egy timer-be egy dialogot mindenkinek megjelenitsen mert playerid nem jó timernél köszönöm elõre is a válaszokat //magyarázat al ha lehetne hogy értsem köszöntem[/quote]
#include <a_samp>
#define DIALOG_ID (123)
public OnFilterScriptInit()
{
SetTimer(\"TimerFunction\",5000,0);
return 1;
}
forward TimerFunction();
public TimerFunction()
{
for(new i; i < GetMaxPlayers(); i++)
{
if(!IsPlayerConnected(i)) { continue; }
ShowPlayerDialog(i,DIALOG_ID,DIALOG_STYLE_LIST,\"Caption\",\"Info\\nInfo\\nInfo\",\"Ok\",\"Mégse\");
}
return 1;
}
valahogy így gondoltad?