Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/fill", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if(IsAtGasStation(playerid))
- {
- if(Gas[idcar] <= 99)
- {
- TogglePlayerControllable(playerid, 0);
- GameTextForPlayer(playerid,"~b~~n~~n~~n~~n~~n~~n~~n~~n~~n~Rezervoar se puni, sacekajte!",3000,3);
- SetTimer("Fillup",RefuelWait,0);
- Refueling[playerid] = 1;
- }
- else
- {
- GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~kanister je pun",3000,4);
- }
- }
- else
- {
- SendClientMessage(playerid,COLOR_GREY,"[GRESKA] Niste na Pumpi!");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment