Jump to content
  • 0

bug /radio


Madu99

Question

Cand dau /radioxqs si selectez un post se aude ...doar ca se aude intrerupt! :|

[pawn]if(strcmp(cmd, "/fillcar", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

    if(PlayerInfo[playerid][pFuel] > 0)

    {

        if(Gas[gLastCar[playerid]] < 81)

        {

        SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Felicitari, ai alimentat Vehiculul cu 20 Fuel.");

        Gas[gLastCar[playerid]] += 20;

        PlayerInfo[playerid][pFuel] = 0;

}

else

{

    SendClientMessage(playerid, COLOR_GREY, "» Vehiculul tau are combustibil necesar.");

}

    }

    else

    {

        SendClientMessage(playerid, COLOR_GREY, "» Ne pare rau, dar nu aveti Fuel in Canistra.");

    }

}

return 1;

}[/pawn]

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

Cand dau /radioxqs si selectez un post se aude ...doar ca se aude intrerupt! :|

[pawn]if(strcmp(cmd, "/fillcar", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

    if(PlayerInfo[playerid][pFuel] > 0)

    {

        if(Gas[gLastCar[playerid]] < 81)

        {

        SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Felicitari, ai alimentat Vehiculul cu 20 Fuel.");

        Gas[gLastCar[playerid]] += 20;

        PlayerInfo[playerid][pFuel] = 0;

}

else

{

    SendClientMessage(playerid, COLOR_GREY, "» Vehiculul tau are combustibil necesar.");

}

    }

    else

    {

        SendClientMessage(playerid, COLOR_GREY, "» Ne pare rau, dar nu aveti Fuel in Canistra.");

    }

}

return 1;

}[/pawn]

Ne-ai dat alta comanda .

E de la postul de radio .

Sau poate de la placa de sunet daca iti face asa si la alte melodii xD

idiots.png
Link to comment
Share on other sites

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.