| Lautaru123 a întrebat:

Mi-am facut un sistem de admin pentru samp cu levele. Merge super bine dar nu am adaugat inca comanda /repair si am gasit o pe internet am modificato si acum vreau sa o adaug dar nu stiu ce include ii trebuie sau daca ii trebuie un (new) sau (forward)



if (! strcmp("/repair", cmdtext))
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
if(! IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xAFAFAFAA, "You are not in a vehicle!");
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0xAFAFAFAA, "Ai reparat masina succes!");
}
else
{
SendClientMessage(playerid, 0xAFAFAFAA, "Nu esti un administrator level 3. ");
}
return 1;
}
}