- 0
Problema /fill
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Sebby
Salut! Am o problema cu sistemul de /fill de la benzinarie. Cand dau /fill imi spune sa opresc motorul. Il opresc, dau iar /fill si tot asa spunem orice as face. Codul este urmatorul:
if(strcmp(cmd, "/fill", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAtGasStation(playerid)) { new carid = GetPlayerVehicleID(playerid); if(EngineSTATE[carid] == 1) { if(Gas[idcar] <= 99) { 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); return 1; } else SCM(playerid, COLOR_CRS3, "** You have to stop the engine !"); return 1; } else SCM(playerid,COLOR_GREY,"** You're not at a Gas Station!"); return 1; } return 1; }Imi puteti spune cum rezolv problema?
4 answers to this question
Recommended Posts