[Ajuda] Problemas com comando /terminais
#4

pawn Код:
if (gPlayerTerminal[playerid] == 1)
     {
          PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
          TransportMoney[playerid] += 3900;
          DisablePlayerCheckpoint(playerid);
          gPlayerTerminal[playerid] = 0;
     }
     else
     {
          static conta;
          conta = gPlayerTerminal[playerid]*300;
          format(gstring,sizeof(gstring), "Vocк encerrou seu serviзo de фnibus e ganhou R$%d.", conta-300);
          SendClientMessage(playerid, COLOR_LIGHTRED, gstring);
          PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
          TransportMoney[playerid] += conta-300;
          DisablePlayerCheckpoint(playerid);
          gPlayerTerminal[playerid] = 0;
     }
     return 1;
}
Caso for uma sequencia de CheckPoint mande todos. Caso for apenas um, ai estб.
Reply


Messages In This Thread
Problemas com comando /terminais - by FPB_Lipos - 17.12.2014, 00:10
Re: Problemas com comando /terminais - by JonathanFeitosa - 17.12.2014, 00:57
Re: Problemas com comando /terminais - by zGuigui2068 - 17.12.2014, 14:35
Re: Problemas com comando /terminais - by JonathanFeitosa - 17.12.2014, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)