Jump to content

Problema comanda Fuelcars


MasterGuN
 Share

Recommended Posts

Nu modifica fuel-ul la masini gen daca masina are 75% si dau /fuelcars e la fel

CMD:fuelcars(playerid, params[])
{
    if(pInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_DARKGRAY, AdminError);
    for(new i = 0; i <= RLBike[10]; i++) vVar[3] = GasMax;
    format(AdminWText, sizeof(AdminWText), "AdmCmd: %s has filled all cars with fuel.", GetName(playerid));
    SendAdminMessage(playerid, COLOR_ADMWARNING, AdminWText);
    return 1;
}

 

La fel si la /fill -> https://pastebin.com/s1CTzRzP

Link to comment
Share on other sites

10 hours ago, MasterGuN said:

Nu modifica fuel-ul la masini gen daca masina are 75% si dau /fuelcars e la fel

CMD:fuelcars(playerid, params[])
{
    if(pInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_DARKGRAY, AdminError);
    for(new i = 0; i <= RLBike[10]; i++) vVar[3] = GasMax;
    format(AdminWText, sizeof(AdminWText), "AdmCmd: %s has filled all cars with fuel.", GetName(playerid));
    SendAdminMessage(playerid, COLOR_ADMWARNING, AdminWText);
    return 1;
}

 

La fel si la /fill -> https://pastebin.com/s1CTzRzP

O sa presupun ca e vVar, din moment ce nu ai raspuns...

Ai uitat:

 for(new i = 0; i < MAX_VEHICLES; i++) vVar [ i ] = 100;

 

Edited by iMatt

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...