08.05.2010, 17:21
how i can make a dialog show for all at same time ?? like ShowDialogForAll and not ShowPlayerDialog
for(new i=0; i<MAX_PLAYERS; i++)
{
if(bla bla == 1)
{
ShowPlayerDialog...
}
}
ShowDialogForAll(dialogid, dialogstyle, caption[], info[], button1[], button2[])
{
new
x
;
do
{
if(IsPlayerConnected(x) && !IsPlayerNPC(x))
{
ShowPlayerDialog(x, dialogid, dialogstyle, caption, info, button1, button2);
}
}
while((x != MAX_PLAYERS));
return 1;
}