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.