PutPlayerInVehicle BUG
#3

Quote:
Originally Posted by thefirestate
Посмотреть сообщение
Can you replace your code with this one:

Код:
for(new j = 0; j < 20; j++) 
            { 
                if(!IsVehicleOccupied(DerbyVehicle[j]))
                {
                    PutPlayerInVehicle(i, DerbyVehicle[j], 0); 
                    TogglePlayerControllable(i, 0); 
                    SendClientMessage(i, -1, ".дщъвшъ мфтймеъ дгшбй йа лелб, 10 щрйеъ ъщъзшш оддчфад"); 
                    break;
                }
            }
If it doesn't work try print out the values of DerbyVehicle[j] and the other variable you use to try and find if you are lacking required information.
At first it was your code, and then I edited it to the current version (with the continue;)
I tried debugging it in every possible way, nothing popped up.
Reply


Messages In This Thread
PutPlayerInVehicle BUG - by NeXoR - 09.09.2016, 01:08
Re: PutPlayerInVehicle BUG - by thefirestate - 09.09.2016, 01:16
Re: PutPlayerInVehicle BUG - by NeXoR - 09.09.2016, 01:20
Re: PutPlayerInVehicle BUG - by thefirestate - 09.09.2016, 01:25
Re: PutPlayerInVehicle BUG - by NeXoR - 09.09.2016, 01:30
Re: PutPlayerInVehicle BUG - by thefirestate - 09.09.2016, 01:33
Re: PutPlayerInVehicle BUG - by NeXoR - 09.09.2016, 01:35
Re: PutPlayerInVehicle BUG - by thefirestate - 09.09.2016, 01:49

Forum Jump:


Users browsing this thread: 2 Guest(s)