return -1? it s ok to use it? or its better return 1/0?
#3

Quote:
Originally Posted by GRiMMREAPER
Посмотреть сообщение
return -1 returns "true" (1), so I don't think the problem is related to the returned value. What is crashdetect outputting?
Код:
[debug] #0 000b8da8 in public OnPlayerExitVehicle (0x00000000, 0x0000000f) from roleplay.amx
[debug] Run time error 4: "Array index out of bounds"
[debug]  Accessing element at negative index -1
[debug] AMX backtrace:
[debug] #0 000b8da8 in public OnPlayerExitVehicle (0x00000001, 0x0000000f) from roleplay.amx
[debug] Run time error 4: "Array index out of bounds"
[debug]  Accessing element at negative index -1
[debug] AMX backtrace:
[debug] #0 000b8da8 in public OnPlayerExitVehicle (0x00000001, 0x0000000f) from roleplay.amx
Is turning me this.. i posted the script here,

https://sampforum.blast.hk/showthread.php?tid=657147


Can you know?
Reply


Messages In This Thread
return -1? it s ok to use it? or its better return 1/0? - by R3SpaWn0 - 01.08.2018, 20:50
Re: return -1? it s ok to use it? or its better return 1/0? - by GRiMMREAPER - 01.08.2018, 21:06
Re: return -1? it s ok to use it? or its better return 1/0? - by R3SpaWn0 - 01.08.2018, 21:22
Re: return -1? it s ok to use it? or its better return 1/0? - by Akeem - 02.08.2018, 02:32
Re: return -1? it s ok to use it? or its better return 1/0? - by coool - 02.08.2018, 06:45

Forum Jump:


Users browsing this thread: 1 Guest(s)