Jump to content

Question

Posted

Hey all,am tot incercat sa fac comanda /fixvehall sa repare toate masinile de pe server,dar nici cum nu mia iesit aveti o idee cum pot sa o fac?

1 answer to this question

Recommended Posts

Posted

Poftim ti-am aranjat eu una :)

Sper sa  o intelegi si sa iti mearga :)

La mine merge :)

[pawn]

COMMAND:fixvehall(playerid, params[])

{

SendAdminText(playerid, "/fixvehall", params);

if (APlayerData[playerid][LoggedIn] == true)

{

if (APlayerData[playerid][PlayerLevel] >= 3) // --> Modifici PlayerLevel cu denumirea la adminul tau :)

{

for (new i; i < 2000; i++) //--> acel 2000 e numarul de masini pe care il ai u in gm il poti modifica :)

RepairVehicle(i);

SendClientMessageToAll(0x00FF00FF, "All vehicles have been successfully repaired!");

}

else

    return 0;

}

else

    return 0;

return 1;

}

[/pawn]

Ti-am explicat putin din ia (doar ce am stiut).

Daca nu iti merge lasa un reply sa te ajut :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.