25.04.2011, 18:34
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PRESSED(KEY_SUBMISSION))
{
new id = GetPlayerVehicleID(playerid);
RepairVehicle(id);
SendClientMessage(playerid, 0x00FF00AA, "Vehicle Repaired!");
}
return 1;
}