Admin Help in dialog {script help}
#8

Quote:
Originally Posted by Jarnu
Посмотреть сообщение
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++) {
if(PlayerInfo[i][pAdmin] >= 1) {
if(IsPlayerConnected(i)) {
ShowPlayerDialog(i,1000000, DIALOG_STYLE_MSGBOX, "Notice", messagesend, "Close", "");
}
}
}
forgot to check if the player is connected.. please try now.
Well, as I am concerned, now it's NOT NEEDED anymore(in fact useless), to check if a player is connected when writing a code(unless it's a param containing command).It won't be causing any bugs, if you don't check the fact that the player is connected.AND SERIOUSLY, dialogid is 1 million, that is far away OVER THE ALLOWED limit of dialogs that can be displayed.Limit is 32767.
Reply


Messages In This Thread
Admin Help in dialog {script help} - by zT KiNgKoNg - 07.09.2012, 12:48
Re: Admin Help in dialog {script help} - by Jarnu - 07.09.2012, 12:52
Re: Admin Help in dialog {script help} - by zT KiNgKoNg - 07.09.2012, 12:56
Re: Admin Help in dialog {script help} - by Jarnu - 07.09.2012, 12:59
Re: Admin Help in dialog {script help} - by zT KiNgKoNg - 07.09.2012, 13:13
Re: Admin Help in dialog {script help} - by Jarnu - 07.09.2012, 13:28
Re: Admin Help in dialog {script help} - by zT KiNgKoNg - 07.09.2012, 13:33
Re: Admin Help in dialog {script help} - by Cjgogo - 07.09.2012, 13:45
Re: Admin Help in dialog {script help} - by zT KiNgKoNg - 07.09.2012, 14:12
Re: Admin Help in dialog {script help} - by zT KiNgKoNg - 07.09.2012, 16:58

Forum Jump:


Users browsing this thread: 3 Guest(s)