23.05.2015, 16:48
Quote:
^ That, and if I may be honest, you haven't explained much either.
Just for the sake of convenience, you should rename the IsEngineOn variable to something like: 'EngineStatus' and declare it as a bool: PHP код:
PHP код:
PHP код:
PHP код:
PHP код:
You declare all the variables that will be put to use in the function's body. Okay, but why? I know why but I am 100 percent sure that other people that don't know will question that. In that case I prefer to go to the wiki and figure it out myself or seek a better tutorial. I am talking about the variables used for the SetVehicleParamsEx function. |