Pomoc Oko komande /gotomyhouse

Započeo MR.UrkeLa, Oktobar 31, 2021, 23:44:53 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Pa kad kompajlujem nema errora ali kad udjem IG i kad upisem /gotomyhouse pise komanda ne postoji i slucajno bacim pogled na Consolu i ona forica kao /gotomyhouse arrial i to i odmah znam da nesto ne valja pa reko da se obratim profesionalin skripterima.
Deo skripte: [pawn]
YCMD:gotomyhouse(playerid, params[], help)
{
   if(UlogovanIgrac[playerid] == 0) return SCM(playerid,-1,""col_srwboja"Vision Gaming: "col_bijela"Moras se ulogovati da bi koristio ovu komandu!");
   if(PlayerInfo[playerid][pPosedovanjeKuce] == 0) return SCM(playerid,-1,"Nemas kucu !");
      new kucaid = PlayerInfo[playerid][pPosedovanjeKuce];
    SetPlayerPos(playerid,KucaInfo[kucaid][kUlazX], KucaInfo[kucaid][kUlazY], KucaInfo[kucaid][kUlazZ]);
    SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0);
   return 1;
}
[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [debug] Run time error 4: "Array index out of bounds"
[debug] AMX backtrace:
[debug] #0 0033822c in public cmd_portkucica (playerid=0, params[]=@01ac66f8 "", help=16) at C:\Users\Uros\Desktop\VG v1.1(BETA TEST)\gamemodes\WTF.pwn:30907
[debug] #1 native CallLocalFunction () from samp-server.exe
[debug] #2 000440b8 in public OnPlayerCommandText (playerid=0, cmdtext[]=@01ac66c8 "/gotomyhouse") at C:\Users\Uros\Desktop\VG v1.1(BETA TEST)\pawno\include\zcmd.inc:102
Poslednja Izmena: Oktobar 31, 2021, 23:48:02 POSLE PODNE od MR.UrkeLa

Da ne koristis slucajno jos jedan command processor osim y_commands?