[Include] CRF Library
#14

Quote:
Originally Posted by codectile
Посмотреть сообщение
Thank you for you suggestion, if you have some more ideas please do share it.

By the way... why -(minus)400 ?
pawn Код:
#define GetVehicleMaxSpeed(%1) (max_vehicle_speed(%1)-400)
// modelid.

static const Float:max_vehicle_speed[][]  =
{
    {....},.....
};
Because the model ids are starting from 400 and that's why he used a negative sign there. Using it like GetVehicleMaxSpeed(VEHICLE_ID_HYDRA) would be like : 520-400 and return it's max_speed from the array. (In case if it's ordered properly)
Reply


Messages In This Thread
CRF Library - by codectile - 04.08.2014, 15:05
Re : CRF Library - by XDamienX007 - 04.08.2014, 16:31
Re: Re : CRF Library - by codectile - 04.08.2014, 16:33
Re: CRF Library - by SanAndreasMP - 04.08.2014, 16:38
Re: CRF Library - by codectile - 06.08.2014, 16:42
Re: CRF Library - by SkittlesAreFalling - 07.08.2014, 00:06
Re: CRF Library - by codectile - 07.08.2014, 05:56
Re: CRF Library - by codectile - 07.08.2014, 06:18
Re: CRF Library - by Lorenc_ - 07.08.2014, 06:37
Re: CRF Library - by codectile - 07.08.2014, 06:49
Re: CRF Library - by codectile - 07.08.2014, 07:01
Respuesta: CRF Library - by Swedky - 07.08.2014, 15:18
Re: Respuesta: CRF Library - by codectile - 07.08.2014, 15:24
Re: Respuesta: CRF Library - by Lordzy - 07.08.2014, 15:28
Re: CRF Library - by codectile - 08.08.2014, 16:03
Re: CRF Library - by codectile - 12.08.2014, 15:56
Respuesta: CRF Library - by LuisR - 13.08.2014, 02:08
Re: CRF Library - by codectile - 17.08.2014, 12:30
Re: CRF Library - by codectile - 15.01.2015, 10:56

Forum Jump:


Users browsing this thread: 3 Guest(s)