Opis : Znaci u igri mi neradi tipa onplayerentervehicle ... npr napravim poruku kad udem u auto da mi posalje sta ja znam ID Vozila : %d
ali to mi se neispise... Takoder OnPlayerStateChange mi neradi kako treba...
Server Log: U logu mi izaci ovaj error prilikom svakog ulaska u vozilo.
20:09:00] [debug] Run time error 4: "Array index out of bounds"
[20:09:00] [debug] Accessing element at index 6 past array upper bound 5
[20:09:00] [debug] AMX backtrace:
[20:09:00] [debug] #0 00830548 in Izlozbena_Vozila (carid=101) at C:\Users\tolic\OneDrive\Desktop\IG LATEST\gamemodes\IGTD.pwn:57291
[20:09:00] [debug] #1 005be5a8 in public ac_OnPlayerStateChange (playerid=0, newstate=2, oldstate=1) at C:\Users\tolic\OneDrive\Desktop\IG LATEST\gamemodes\IGTD.pwn:21827
[20:09:00] [debug] #2 000803a0 in ?? (... <3 arguments>) at C:\Users\tolic\OneDrive\Desktop\Modovi\IG LATEST\pawno\include\nex-ac.inc:6462
[20:09:00] [debug] #3 00029b4c in public WC_OnPlayerStateChange (playerid=0, newstate=2, oldstate=1) at C:\Users\tolic\OneDrive\Desktop\Modovi\IG LATEST\pawno\include\YSI\y_hooks/impl.inc:1118
[20:09:00] [debug] #4 0000d6fc in public OnPlayerStateChange (playerid=0, newstate=2, oldstate=1) at C:\Users\tolic\OneDrive\Desktop\Modovi\IG LATEST\pawno\include\weapon-config.inc:2852
Pise ti sve bukvalno :D
Citat: Tolja poslato April 01, 2022, 22:30:55 POSLE PODNE
Opis : Znaci u igri mi neradi tipa onplayerentervehicle ... npr napravim poruku kad udem u auto da mi posalje sta ja znam ID Vozila : %d
ali to mi se neispise... Takoder OnPlayerStateChange mi neradi kako treba...
Server Log: U logu mi izaci ovaj error prilikom svakog ulaska u vozilo.
20:09:00] [debug] Run time error 4: "Array index out of bounds"
[20:09:00] [debug] Accessing element at index 6 past array upper bound 5
[20:09:00] [debug] AMX backtrace:
[20:09:00] [debug] #0 00830548 in Izlozbena_Vozila (carid=101) at C:\Users\tolic\OneDrive\Desktop\IG LATEST\gamemodes\IGTD.pwn:57291
[20:09:00] [debug] #1 005be5a8 in public ac_OnPlayerStateChange (playerid=0, newstate=2, oldstate=1) at C:\Users\tolic\OneDrive\Desktop\IG LATEST\gamemodes\IGTD.pwn:21827
[20:09:00] [debug] #2 000803a0 in ?? (... <3 arguments>) at C:\Users\tolic\OneDrive\Desktop\Modovi\IG LATEST\pawno\include\nex-ac.inc:6462
[20:09:00] [debug] #3 00029b4c in public WC_OnPlayerStateChange (playerid=0, newstate=2, oldstate=1) at C:\Users\tolic\OneDrive\Desktop\Modovi\IG LATEST\pawno\include\YSI\y_hooks/impl.inc:1118
[20:09:00] [debug] #4 0000d6fc in public OnPlayerStateChange (playerid=0, newstate=2, oldstate=1) at C:\Users\tolic\OneDrive\Desktop\Modovi\IG LATEST\pawno\include\weapon-config.inc:2852
E moj tolja kupi naocale
[pawn]20:09:00] [debug] Run time error 4: "Array index out of bounds"
[20:09:00] [debug] Accessing element at index 6 past array upper bound 5[/pawn]
Imas niz od 5 elemenata, a ti pokusavas pristupiti 6.