[Ajuda] Classe Medico
#5

Quote:
Originally Posted by iFox
Посмотреть сообщение
Poste a callback OnPlayerKeyStateChange
A Parte do medico :

pawn Код:
case ClassMedico:
{
// If the assistance-player pressed the RMB key (AIM key) when OUTSIDE his vehicle
if (((newkeys & KEY_HANDBRAKE) && !(oldkeys & KEY_HANDBRAKE)) && (GetPlayerVehicleID(playerid) == 0))
Medico_FixVehicle(playerid);

// If the police-player pressed the LCTRL (SECUNDAIRY key) key when INSIDE his vehicle
if (((newkeys & KEY_ACTION) && !(oldkeys & KEY_ACTION)) && (GetPlayerVehicleID(playerid) != 0))
Medico_FixOwnVehicle(playerid);
}
Reply


Messages In This Thread
Classe Medico - by Luucass - 28.05.2014, 23:00
Re: Classe Medico - by iFox - 28.05.2014, 23:31
Re: Classe Medico - by Luucass - 29.05.2014, 00:14
Re: Classe Medico - by iFox - 29.05.2014, 00:19
Re: Classe Medico - by Luucass - 29.05.2014, 00:20
Re: Classe Medico - by Luucass - 29.05.2014, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)