Server restarts on certain commands
#10

Quote:
Originally Posted by Babul
Посмотреть сообщение
this
pawn Код:
Reports[reportid][ReportFrom] = 999;
looks suspect. you set the playerid to a value higher than 500/800. fix it, use id 0 if yoiu dont feel for creating 1 more variable which holds "IsPlayerForbiddenToReportCauseHesDisconnected[MAX_PLAYERS]", at least avoid checkinf/setting invalid playerids, i do that by adding variables as switch (check[]=0 or 1, thats a "pass check, or dont check"-like. sounds complicated, but i dont find the words to describe better ><
That was a bit confusing, heh. So what you're saying is...it should be something like:

Код:
Reports[reportid][ReportFrom] = 199;
Reply


Messages In This Thread
[Volt Host] Restarts on certain commands - by iDame - 07.02.2012, 18:41
Re: Server restarts on certain commands - by Babul - 07.02.2012, 19:37
Re: Server restarts on certain commands - by iDame - 07.02.2012, 19:53
Re: Server restarts on certain commands - by [LoF]Zak - 07.02.2012, 19:56
Re: Server restarts on certain commands - by iDame - 07.02.2012, 20:16
Re: Server restarts on certain commands - by iDame - 08.02.2012, 02:47
Re: Server restarts on certain commands - by Zeex_ - 08.02.2012, 03:52
Re: Server restarts on certain commands - by iDame - 08.02.2012, 05:25
Re: Server restarts on certain commands - by Babul - 08.02.2012, 06:04
Re: Server restarts on certain commands - by iDame - 08.02.2012, 06:13

Forum Jump:


Users browsing this thread: 1 Guest(s)