SetVehicleHealth Command Please Help
#1

Why is this not working atall


pawn Код:
CMD:setvehiclehealth(playerid, params[])
{
    if(PlayerData[ID][AdminLevel] >= 1)
    {
        new VehicleHealth;
        new vehicleid = GetPlayerVehicleID(playerid);
        if(sscanf(params, "ui", VehicleHealth)) return SendClientMessage(playerid, COLOR_GREEN, "/setvehiclehealth [Health]");
        GetPlayerName(playerid,pname,sizeof(pname));
        new pstring[256];
        format(pstring,sizeof(pstring),"You have set your vehicle health to %s",VehicleHealth);
        SetVehicleHealth(vehicleid,VehicleHealth);
    }
    return 1;
}

Thank You


Please Help Me Please
Reply


Messages In This Thread
SetVehicleHealth Command Please Help - by Scripter12345 - 24.04.2012, 18:02
Respuesta: SetVehicleHealth Command Please Help - by [DOG]irinel1996 - 24.04.2012, 18:05
Re: SetVehicleHealth Command Please Help - by Claude - 24.04.2012, 18:07
Re: SetVehicleHealth Command Please Help - by Twisted_Insane - 24.04.2012, 18:12

Forum Jump:


Users browsing this thread: 2 Guest(s)