29.05.2014, 00:20
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);
}