Quote:
Originally Posted by Tagathron
You're not checking anything at this line:
pawn Код:
if (gData[G_PACKAGE_STARTED])
gData[G_PACKAGE_STARTED] is just an array but you're not doing something like:
pawn Код:
f (gData[G_PACKAGE_STARTED]==1)
or similar,that would check something,this way it doesn't.
If the driver's door unlocks after leaving the vehicle try adding code to OnPlayerExitVehicle() which will set the door paramater to locked.
|
You are wrong. You don't have to add the check for == 1. I'm using Boolean which is true/false. The way I check means it is true and if adding ! means false!
pawn Код:
if ( gData[G_PACKAGE_STARTED] ) // true
if ( !gData[G_PACKAGE_STARTED] ) // false
Waiting for any other idea or solution.