hey Scripter/scripterin Ich Brauche Hilfe bei Einen Befehl
ocmd:rep(playerid,params[])
{
if(IsPlayerConnected(playerid))
{
new pID,RepairVehicle;
if(sscanf(params,"ui",pID)) return SCM(playerid,BLAU,"Info: /rep [ID]");
if(IsPlayerConnected(pID))
{
new rep1[64];
new rep2[64];
SetVehicleHealth(GetPlayerVehicleID(pID),1000);
format(rep1,sizeof(rep1),"Du hast %s Sein Auto Repairt!",SpielerName(pID),RepairVehicle);
SCM(playerid,HELLROT,rep1);
format(rep2,sizeof(rep2),"%s hat Dein Auto Repairt!",SpielerName(playerid),RepairVehicle);
SCM(pID,HELLROT,rep2);
}
}
return 1;
}