[SOLVED] Whats wrong with this? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED] Whats wrong with this? (
/showthread.php?tid=122398)
[SOLVED] Whats wrong with this? -
JoeDaDude - 21.01.2010
SOLVED
Re: Whats wrong with this? -
Doppeyy - 21.01.2010
Show the whole engine code so we can help you.
[Doppeyy
Re: Whats wrong with this? -
Correlli - 21.01.2010
Like i already explained to you in other topic:
Quote:
Originally Posted by Don Correlli
pawn Код:
// array. new Engine[MAX_VEHICLES]; // change it to your own vehicle_define.
// code. new vehicleid = GetPlayerVehicleID(playerid); Engine[vehicleid] = 1;
|
You need to define the
Engine array and when you're using it you need to know how to use it (an example would be with GetPlayerVehicleID function).
Re: Whats wrong with this? -
JoeDaDude - 21.01.2010
SOLVED
Re: Whats wrong with this? -
MenaceX^ - 21.01.2010
Quote:
Originally Posted by Don Correlli
Like i already explained to you in other topic:
Quote:
Originally Posted by Don Correlli
pawn Код:
// array. new Engine[MAX_VEHICLES]; // change it to your own vehicle_define.
// code. new vehicleid = GetPlayerVehicleID(playerid); Engine[vehicleid] = 1;
|
You need to define the Engine array and when you're using it you need to know how to use it (an example would be with GetPlayerVehicleID function).
|
Bool's better, as far as he doesn't have more than two options.
Re: Whats wrong with this? -
Doppeyy - 21.01.2010
Try what Don posted and see if that works.
[Doppeyy
Re: Whats wrong with this? -
JoeDaDude - 21.01.2010
SOLVED
Re: Whats wrong with this? -
MadeMan - 21.01.2010
Put
new Engine[MAX_VEHICLES]; on top of the script.
Re: Whats wrong with this? -
JoeDaDude - 21.01.2010
SOLVED
Re: Whats wrong with this? -
MadeMan - 21.01.2010
Related with Engine? Delete other
new Engine lines you have in your script