01.01.2011, 21:48
Erhm...
You are double checking something and that for the check becomes useless.
Here you check it the first time and then later you do:
Which is useless as you do not change s_iVehicle and just double check a possibility that can never happen.
Otherwise, very nice idea!
Regards,
Extremo.
You are double checking something and that for the check becomes useless.
pawn Код:
if ( s_iVehicle )
{
static
pawn Код:
if ( s_iVehicle )
SetVehicleVelocity( s_iVehicle, s_fVX, s_fVY, s_fVZ );
else
SetPlayerVelocity( playerid, s_fVX, s_fVY, s_fVZ );
Otherwise, very nice idea!
Regards,
Extremo.