Jump to content

Question

Posted

Ma puteti ajuta si pe mine imi ia prea multi bani la /fill! Va rog!

if(strcmp(cmd, "/fill", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

if(IsAtGasStation(playerid))

{

    if(Gas[idcar] <= 99)

    {

    TogglePlayerControllable(playerid, 0);

    GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Re-Fueling Vehicle, please wait",2000,3);

SetTimer("Fillup",RefuelWait,0);

Refueling[playerid] = 1;

}

else

{

    GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~Gas can is full",2000,3);

}

}

else

{

SendClientMessage(playerid,COLOR_GREY,"  You're not at a Gas Station!");

}

}

    return 1;

}

1 answer to this question

Recommended Posts

Posted

Pune comanda aici...sau cauta in gm la comanda /fill asa

[pawn]GivePlayerMoney(playerid,- suma);//Schimbi - suma cu ce nr vrei tu ..da lasa - in fata ca sa ii ia bani nu sa ii dea[/pawn]

Massari e curva mea

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.