[Ajuda] Getar score e money
#9

Quote:
Originally Posted by Victor'
Посмотреть сообщение
pawn Код:
SetTimer("Utilitarios", 1000, true);//gamemodeinit
forward Utilitarios();
public Utilitarios()
{
   for(new i, f = GetMaxPlayers(); i < f; i++)
   {
      if(IsPlayerConnected(i))
      {
        if(IsPlayerInAnyVehicle(i))
        {
            RepairVehicle(GetPlayerVehicleID(i));
            AddVehicleComponent(GetPlayerVehicleID(i) ,1010);
        }
        new tmpm[f], tmpsc[f];
       
        GetPlayerMoney(i, tmpm[i]);
        GetPlayerScore(i, tmpsc[i]);
       
        PlayerInfo[i][pGrana] = tmpm[i];
        PlayerInfo[i][pScore] = tmpsc[i];
        return 1;
      }
   }
   return 0;
}
GetPlayerMoney e GetPlayerScore nгo dгo suporte para 2 parвmetros.

-Tуpico:

Testei no lvdm e compilo.
Reply


Messages In This Thread
Getar score e money - by Don_Speed - 10.07.2012, 01:10
Re: Getar score e money - by Jason` - 10.07.2012, 01:12
Re: Getar score e money - by @Riichard - 10.07.2012, 01:12
Re: Getar score e money - by Don_Speed - 10.07.2012, 01:18
Re: Getar score e money - by Victor' - 10.07.2012, 01:20
Re: Getar score e money - by Jason` - 10.07.2012, 01:21
Re: Getar score e money - by Don_Speed - 10.07.2012, 01:23
Re: Getar score e money - by Victor' - 10.07.2012, 01:29
Re: Getar score e money - by Abravanel - 10.07.2012, 01:33
Re: Getar score e money - by Don_Speed - 10.07.2012, 18:17

Forum Jump:


Users browsing this thread: 3 Guest(s)