Run time error 4: "Array index out of bounds"
#6

I recommend you to don't use Romanian scripts if you are not Romanian.
I suggest doing this:

Replace
Код:
 if(IsValidObject(semnalizari[GetPVarInt(playerid, "VehLamp")][2])) DestroyObject(semnalizari[GetPVarInt(playerid, "VehLamp")][2]); semnalizari[GetPVarInt(playerid, "VehLamp")][2] = INVALID_OBJECT_ID;
with
Код:
 if(IsValidObject(semnalizari[GetPVarInt(playerid, "VehLamp")][1])) DestroyObject(semnalizari[GetPVarInt(playerid, "VehLamp")][1]); semnalizari[GetPVarInt(playerid, "VehLamp")][1] = INVALID_OBJECT_ID;
Reply


Messages In This Thread
Run time error 4: "Array index out of bounds" - by Richturtle - 20.04.2018, 06:45
Re: Run time error 4: "Array index out of bounds" - by Logic_ - 20.04.2018, 06:47
Re: Run time error 4: "Array index out of bounds" - by GTLS - 20.04.2018, 07:06
Re: Run time error 4: "Array index out of bounds" - by UFF - 20.04.2018, 07:22
Re: Run time error 4: "Array index out of bounds" - by Richturtle - 20.04.2018, 07:57
Re: Run time error 4: "Array index out of bounds" - by FnZ - 20.04.2018, 09:30
Re: Run time error 4: "Array index out of bounds" - by Richturtle - 25.04.2018, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)