09.11.2013, 20:18
pawn Код:
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=0) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=0, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=0) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=0, color2=0) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=0, color2=0) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=0, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=1) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:09] [debug] Run time error 4: "Array index out of bounds"
[22:54:09] [debug] Accessing element at negative index -1
[22:54:09] [debug] AMX backtrace:
[22:54:09] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=1, color2=0) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=17, color2=4) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=56, color2=117) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=57, color2=11) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=138, color2=137) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=80, color2=109) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=107, color2=39) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=119, color2=80) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=138, color2=158) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=170, color2=176) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=86, color2=127) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=64, color2=157) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=5, color2=69) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=65, color2=160) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=52, color2=16) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=147, color2=15) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=122, color2=52) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=30, color2=71) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=155, color2=178) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=116, color2=146) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=76, color2=95) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=58, color2=51) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=121, color2=2) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=90, color2=148) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=4, color2=130) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=134, color2=121) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=36, color2=102) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=105, color2=53) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=125, color2=92) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=16, color2=3) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=144, color2=57) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=120, color2=93) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=46, color2=143) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=97, color2=182) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=91, color2=170) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=118, color2=6) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=61, color2=122) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=145, color2=16) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=64, color2=104) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:10] [debug] Run time error 4: "Array index out of bounds"
[22:54:10] [debug] Accessing element at negative index -1
[22:54:10] [debug] AMX backtrace:
[22:54:10] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=44, color2=63) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [chat] [Juan_Rojas]: Pe gratis?
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=21, color2=176) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=171, color2=147) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=105, color2=50) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=70, color2=166) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=96, color2=67) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=131, color2=115) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=109, color2=43) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=57, color2=102) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=182, color2=172) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=106, color2=43) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=24, color2=108) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=92, color2=131) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=43, color2=20) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
[22:54:11] [debug] Run time error 4: "Array index out of bounds"
[22:54:11] [debug] Accessing element at negative index -1
[22:54:11] [debug] AMX backtrace:
[22:54:11] [debug] #0 00060d00 in public OnVehicleRespray (playerid=27, vehicleid=3, color1=48, color2=94) at C:\Users\Filip\Desktop\SERVER\gamemodes\rp.pwn:8255
pawn Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
new slot = GetVehicleSlot(vehicleid);
//8255line VehicleInfo[slot][vColor1] = color1;
VehicleInfo[slot][vColor2] = color2;
new str[128];
new totalc;
totalc = GetPVarInt(playerid, "OVR") + 1;
SetPVarInt(playerid, "OVR", totalc);
new Float:vpox[3];
if (totalc > normal_ovr_count)
{
GetVehiclePos(vehicleid, vpox[0], vpox[1], vpox[2]);
//new insprayshop = point_in_sprayshop(Vx, Vy, Vz);
if (!IsPlayerInRangeOfPoint(playerid, 20.0, 616.7820, -74.8151, 997.6350))
{
if (GetPlayerVirtualWorld(playerid) != VW_CHEATER)
{
format(str,sizeof(str), "[alot_ovr_inline] %s %d %d (%0.4f %0.4f %0.4f)", GetPlayerNameEx(playerid), playerid, totalc, vpox[0], vpox[1], vpox[2]);
SendAdminBroadcast(str);
}
}
else if (!IsPlayerInRangeOfPoint(playerid, 20.0, 615.2851, -124.2390, 997.6350))
{
if (GetPlayerVirtualWorld(playerid) != VW_CHEATER)
{
format(str,sizeof(str), "[alot_ovr_inline] %s %d %d (%0.4f %0.4f %0.4f)", GetPlayerNameEx(playerid), playerid, totalc, vpox[0], vpox[1], vpox[2]);
SendAdminBroadcast(str);
}
}
else if (!IsPlayerInRangeOfPoint(playerid, 20.0, 617.5380, -1.9900, 1000.6829))
{
if (GetPlayerVirtualWorld(playerid) != VW_CHEATER)
{
format(str,sizeof(str), "[alot_ovr_inline] %s %d %d (%0.4f %0.4f %0.4f)", GetPlayerNameEx(playerid), playerid, totalc, vpox[0], vpox[1], vpox[2]);
SendAdminBroadcast(str);
}
}
}
if (totalc > 5)
{
if (GetPlayerVirtualWorld(playerid) != VW_CHEATER)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Quick color changer cleo is a bad idea here.");
SetTimerEx("KickPublic", 1000, 0, "d", playerid);
Kick(playerid);
}
}
if (GetPlayerVirtualWorld(playerid) == VW_CHEATER) // already taken care of.
return 1;
if (!IsPlayerInVehicle(playerid, vehicleid))
{
new Float:pox[3];
GetPlayerPos(playerid, pox[0], pox[1], pox[2]);
GetVehiclePos(vehicleid, vpox[0], vpox[1], vpox[2]);
format(str,sizeof(str), "[OVR_INVALID] %s %d %d %d %d Player (%0.4f %0.4f %0.4f) Car (%0.4f %0.4f %0.4f)", GetPlayerNameEx(playerid), playerid, vehicleid, color1, color2, pox[0], pox[1], pox[2], vpox[0], vpox[1], vpox[2]);
SendAdminBroadcast(str);
Kick(playerid);
}
return 1;
}