24.04.2012, 18:02
Why is this not working atall
Thank You
Please Help Me Please
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