02.12.2009, 09:54
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_SUBMISSION)) /// This will add 10x NOS to the car and repair it if player is in a car.
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}
greetz