29.09.2010, 16:53
/dl is an integrated command like: /q = quit game etc.
if you need an working one go with zcmd and do like this:
not tested though.
if you need an working one go with zcmd and do like this:
pawn Код:
command(vhealth,playerid,params[])
{
if(!IsPlayerInAnyVehicle(playerid)) return SendCientMessage( somme params..);
new vehicleid = GetPlayerVehicleID(playerid);
new string[20], Float:vHealth;
GetVehicleHealth(vehicleid, vHealth);
format(string, 20, "Vehicle health: %d", vHealth);
SendClientMessage(playerid, COLOR, sting);
return 1;
}