Help me with /beginevent command
#10

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Declaring as:
pawn Код:
new EventCars[100] = INVALID_VEHICLE_ID;
sets only index 0 to INVALID_VEHICLE_ID and all the rest are 0. Then the if statement is never true unless rand is 0 so the code inside never gets executed. Replace with:
pawn Код:
new EventCars[100] = {INVALID_VEHICLE_ID, ...};
I don't know why but still not working
I also use

pawn Код:
new EventCars[100] = {INVALID_VEHICLE_ID, ...};
Reply


Messages In This Thread
Help me with /beginevent command - by Kenxxx - 22.04.2016, 07:07
Re: Help me with /beginevent command - by XtremeRz - 22.04.2016, 07:21
Re: Help me with /beginevent command - by Kenxxx - 22.04.2016, 07:24
Re: Help me with /beginevent command - by oMa37 - 22.04.2016, 07:47
Re: Help me with /beginevent command - by Kenxxx - 22.04.2016, 08:49
Re: Help me with /beginevent command - by Kenxxx - 22.04.2016, 09:44
Re: Help me with /beginevent command - by Sew_Sumi - 22.04.2016, 09:52
Re: Help me with /beginevent command - by Kenxxx - 22.04.2016, 10:15
Re: Help me with /beginevent command - by Konstantinos - 22.04.2016, 10:22
Re: Help me with /beginevent command - by Kenxxx - 22.04.2016, 10:40

Forum Jump:


Users browsing this thread: 1 Guest(s)