Server Crashed

Započeo Danny<3, Mart 11, 2018, 18:56:51 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Server se crashao
Dio skripte:
CMD:b(playerid, params[])
{
	if(PI[playerid][Utisan] != 0) return SCMF(playerid, TAMNOCRVENA, "{FF0000}WGZastita | {FFFFFF}Vi ste utisani! | Sekundi koliko ste jos utisani: {FF0000}%d %d", PI[playerid][Utisan]);
//	new text[128], string[128], hIme[MAX_PLAYER_NAME];
	new text[100], Float:Poz[3], string[128], hIme[MAX_PLAYER_NAME];
	if(sscanf(params, "s[128]", text)) return SCM(playerid, BELA, "{33CCFF}Koristite: {FFFFFF}/b [Text]");
	if(gettime() < koristioChat[playerid]) return SCM(playerid, CRVENA, "WGZastita | {BFC0C2}Chat mozete koristiti svake 3 sekunde!");
	koristioChat[playerid] = gettime() + 3;
	for(new i; i < sizeof(ZabranjeneReci); i++)
	{
		if(strfind(text, ZabranjeneReci[i], true) != -1)
		{
		  	new strMy[128];
	 		new STRname[MAX_PLAYER_NAME];
	  		RPIme(playerid, STRname);
	  		format(strMy, sizeof(strMy), "[!!!][OOC] %s(ID: %d): %s",STRname,playerid,text);
	   		StaffPoruka(0xF7BBEEAA, strMy);
	   		new ippp[24];
	   		GetPlayerIp(playerid, ippp, 24);
		}
	}
	GetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
 	RPIme(playerid, hIme);
	foreach(Player, i)
	{
	    if(IsPlayerInRangeOfPoint(i, 20.0, Poz[0], Poz[1], Poz[2]))
	    {
	        format(string, sizeof string, ""MOJA"[{FFFFFF}OOC"MOJA"] {FFFFFF}%s: "MOJA"|{FFFFFF} %s", hIme, text);
	        SCM(i, BELA, string);
		}
	}
	return 1;
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
[18:32:00] [debug] Server crashed while executing WGnew.amx
[18:32:00] [debug] AMX backtrace:
[18:32:00] [debug] #0 00000074 in ?? (... <25 arguments>) at <unknown file>:0
[18:32:00] [debug] #1 00000074 in public cmd_b () at <unknown file>:0
[18:32:00] [debug] #2 native CallLocalFunction () from samp03svr
[18:32:00] [debug] #3 00000c9c in public OnPlayerCommandText (playerid=17, cmdtext[]=@01b276fc "/b cekam da me one stranice rihvate poslo sam na 3 stranice vratite mi promotera...") at C:\Users\Danny\Desktop\World Gaming\pawno\include\zcmd.inc:108

Slika/video ingame problema(obavezno ako je ingame problem): -
Poslednja Izmena: Mart 11, 2018, 18:58:01 POSLE PODNE od [PG]Danny