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

for vehicles you should return the already defined "INVALID_VEHICLE_ID" instead of -1
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)