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
PROBLEM OKO SPAWNA
574
pregleda
11
postova
23. Sep. 2017.
https://pastebin.com/nFAraRqe ovo?,ako nije gdje to mogu naci pocinnnjem sa skriptanjem i to pa nisam upoznat
24. Sep. 2017.
Imam isti problem. EVO DEBUG KOJI IZBACUJE CRASH DETECT
debug] Run time error 4: "Array index out of bounds"
[14:37:13] Accessing element at index 65535 past array upper bound 99
[14:37:13] AMX backtrace:
[14:37:13] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:13] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:18] Run time error 4: "Array index out of bounds"
[14:37:18] Accessing element at index 65535 past array upper bound 99
[14:37:18] AMX backtrace:
[14:37:18] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:18] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:26] Run time error 4: "Array index out of bounds"
[14:37:26] Accessing element at index 65535 past array upper bound 99
[14:37:26] AMX backtrace:
[14:37:26] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:26] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:45] Run time error 4: "Array index out of bounds"
[14:37:45] Accessing element at index 65535 past array upper bound 99
[14:37:45] AMX backtrace:
[14:37:45] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:45] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
debug] Run time error 4: "Array index out of bounds"
[14:37:13] Accessing element at index 65535 past array upper bound 99
[14:37:13] AMX backtrace:
[14:37:13] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:13] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:18] Run time error 4: "Array index out of bounds"
[14:37:18] Accessing element at index 65535 past array upper bound 99
[14:37:18] AMX backtrace:
[14:37:18] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:18] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:26] Run time error 4: "Array index out of bounds"
[14:37:26] Accessing element at index 65535 past array upper bound 99
[14:37:26] AMX backtrace:
[14:37:26] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:26] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
[14:37:45] Run time error 4: "Array index out of bounds"
[14:37:45] Accessing element at index 65535 past array upper bound 99
[14:37:45] AMX backtrace:
[14:37:45] #0 003d6698 in ?? (0x0000ffff) from GL-RP.amx
[14:37:45] #1 00268d70 in public OnPlayerDeath (0x00000000, 0x0000ffff, 0x000000ff) from GL-RP.amx
24. Sep. 2017.
freezuj igraca na 5 sekundi kad se spawna i postavi mu koordinate od pravog spawna,tako sam ja rijesio
24. Sep. 2017.
prvo
pod onplayerspawn stavis jedan timer
i onda gdje su ti ostali publici stavis
Naravno stavis svoje koordinate za spawn
new SpawnicTimer; na vrhu skriptepod onplayerspawn stavis jedan timer
SpawnicTimer = SetTimer("Spawna", 50, 1);i onda gdje su ti ostali publici stavis
forward Spawna(playerid);
public Spawna(playerid)
{
SetPlayerPos(playerid, 399.58392, -1531.13086, 32.24300);
KillTimer(SpawnicTimer);
return 1;
}Naravno stavis svoje koordinate za spawn
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava