25.04.2011, 15:50
ya i am using the same.................
// ------ fix -----------------------------------------------------------------
dcmd_fix(playerid, params[]) {
#pragma unused params
if(IsPlayerInAnyVehicle(playerid)) {
SetVehicleHealth(GetPlayerVehicleID(playerid),1000 .0);
SendClientMessageLang(playerid, COLOR_ORANGE,"Vehicle fixed.","Pojazd naprawiony.");
}
else
{
SendClientMessageLang(playerid, COLOR_WARN,"You must be in vehicle!","Musisz byж w pojeџdzie!");
}
return 1;
}
dcmd_repair(playerid, params[]) { dcmd_fix(playerid, params); return 1; }
and also help in making of the hotkey.........plz
// ------ fix -----------------------------------------------------------------
dcmd_fix(playerid, params[]) {
#pragma unused params
if(IsPlayerInAnyVehicle(playerid)) {
SetVehicleHealth(GetPlayerVehicleID(playerid),1000 .0);
SendClientMessageLang(playerid, COLOR_ORANGE,"Vehicle fixed.","Pojazd naprawiony.");
}
else
{
SendClientMessageLang(playerid, COLOR_WARN,"You must be in vehicle!","Musisz byж w pojeџdzie!");
}
return 1;
}
dcmd_repair(playerid, params[]) { dcmd_fix(playerid, params); return 1; }
and also help in making of the hotkey.........plz