Oko spawna

Započeo Nemanja23
24. Sep. 2017.
509
pregleda
5
postova
Nemanja23
3
Hustler
24. Sep. 2017.
Skripta koju koristim:///
Detaljan opis problema:Kada se /kill ili me neko ubije ili se ubijem spawna me u selu (na farmi) i u crash detectu mi izbacuje ovaj debug
[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
Slika://
cutura
5
Godfather
24. Sep. 2017.
freezuj igraca na 5 sekundi kad se spawna i postavi mu koordinate od pravog spawna,tako sam ja rijesio
Nemanja23
3
Hustler
24. Sep. 2017.
Mozes da mi stavis ovde da prekopiras to sto si uradio,da turim kod mene posto ne znam kako da stavim to da me freeze.
cutura
5
Godfather
24. Sep. 2017.
prvo
new SpawnicTimer;
na vrhu skripte
pod 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
Nemanja23
3
Hustler
24. Sep. 2017.
Nece,sve sam ubacio ovo sto si mi poslao i compille sam nemam errora,startujem server nece..
Opet me spawna u selu

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha