Jump to content
  • 0

Salut


okiverzi

Question

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;

}

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.