16.10.2013, 07:45
Hello everyone.
I ask this question: How to make so that you can refuel vehicles when the engine is turned off?
That's the team I have to refuel:
And this is how the gamemode I have shown the engine running:
Thanks in advance!
I ask this question: How to make so that you can refuel vehicles when the engine is turned off?
That's the team I have to refuel:
Код HTML:
if(strcmp(cmd, "/fuel", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAtGasStation(playerid)) { ShowPlayerDialog(playerid,291,DIALOG_STYLE_LIST,"Äîáðî ïîæàëîâàòü íà çàïðàâêó!Âûáåðèòå òèï òîïëèâà:","Äèçåëü\nAÈ 90\nAÈ 93\nAÈ 95","Âûáðàòü","Îòìåíà"); } else { SendClientMessage(playerid,COLOR_GREY,"[Ñåðâåð]: Âû íå íà ÀÇÑ!"); } } return true; }
Код HTML:
VehicleInfo[vid][pEngineStatus] = 1;