Skripta koju koristim:Nebitno
Detaljan opis problema:Znaci kada se killam spawnam se negdje nez ni ja gdje ovo mi se cesto desava na nekim skriptama evo slika
Slika: https://imgur.com/a/UPCwc
Imam isti problem, niko neće reći kako da fixamo.
Imas ti problem bajo moj oko cijelog moda, gle sistema i kurceva dinamicnih, profesionalno odradjen UP mod, daj debug
https://pastebin.com/nFAraRqe ovo?,ako nije gdje to mogu naci pocinnnjem sa skriptanjem i to pa nisam upoznat
tebra googlaj, daj debug i log, ako nemas ubaci nativechecker i crashdetect i daj log onda
ÄŒekiraj SetSpawnInfo kakav je, a i dinamika u modu ti je vrlo loÅ¡a, Äim su ti kreirane kuće i svaÅ¡ta neÅ¡to na 0 0 0 koordinatama
Imam isti problem. EVO DEBUG KOJI IZBACUJE CRASH DETECT
debug] Run time error 4: "Array index out of bounds"
[14:37:13] [debug] Accessing element at index 65535 past array upper bound 99
[14:37:13] [debug] AMX backtrace:
[14:37:13] [debug] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:13] [debug] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:18] [debug] Run time error 4: "Array index out of bounds"
[14:37:18] [debug] Accessing element at index 65535 past array upper bound 99
[14:37:18] [debug] AMX backtrace:
[14:37:18] [debug] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:18] [debug] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:26] [debug] Run time error 4: "Array index out of bounds"
[14:37:26] [debug] Accessing element at index 65535 past array upper bound 99
[14:37:26] [debug] AMX backtrace:
[14:37:26] [debug] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:26] [debug] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:45] [debug] Run time error 4: "Array index out of bounds"
[14:37:45] [debug] Accessing element at index 65535 past array upper bound 99
[14:37:45] [debug] AMX backtrace:
[14:37:45] [debug] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:45] [debug] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
freezuj igraca na 5 sekundi kad se spawna i postavi mu koordinate od pravog spawna,tako sam ja rijesio
Mozes mi poslati to za freeze?
prvo [pawn]new SpawnicTimer;[/pawn] na vrhu skripte
pod onplayerspawn stavis jedan timer [pawn]SpawnicTimer = SetTimer("Spawna", 50, 1);[/pawn]
i onda gdje su ti ostali publici stavis
[pawn]forward Spawna(playerid);
public Spawna(playerid)
{
SetPlayerPos(playerid, 399.58392, -1531.13086, 32.24300);
KillTimer(SpawnicTimer);
return 1;
}[/pawn]
Naravno stavis svoje koordinate za spawn
Nece,sve sam ubacio ovo sto si mi poslao i compille sam nemam errora,startujem server nece..
Opet me spawna u selu