Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: all
1. Nie dziala font w prawie all skryptach
Cze?? mam taki problem ze w wi?kszo?ci skryptach mam taki problem ?e nie ma zadnego tekstu (fontu) a np paczka nitro ca?a dzia?a nic nie laguje w skryptach i wgl dzia?a ca?a a je?li wgrywam inn? paczk? ni? nitro to wszytko si? buguje i nie ma w skryptach font (error creating font) na innym kompie wszystko normalnie dziala nawet po resecie skrypt?w
2. All Kills Prawie zrobione
Witam mamy taki kod ktory dodaje zabite zombie i graczy do siebie i sie wyswietla, ale niestety sie to nie zapisuje oto kod :

function updateTotalKills()
    for 
iplayer in ipairs(getElementsByType("player")) do
        if 
getElementData(player,"logedin"then
            local zombieskilled 
getElementData(player,"zombieskilled")
            
local murders getElementData(player,"murders")
            
setElementDataplayer"totalkills",murders+zombieskilled)
        
end
    end
end
setTimer
(updateTotalKills,3000,0)


Czy jest mo?liwo?? ?eby to sie zapisywa?o czyli "totalkills"

Stawiam piwerko i respekt. Z g?ry dzi?ki
3. [ POJAZD] Parachute For All Vehi


DOWNLOAD

Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
4. Komenda na score all
Witam mam pewien problem z komend? na dawanie score wszystkim graczom poniewa? gdy dam np wszystkim po 100 score to graczom ustawia si? 2 razy tyle ile da? admin + score tego admina kt?ry dawa? score.

Oto kod

Kod:

CMD:dajscoreall(playerid, cmdtext[])
{
if(Gracz[playerid][Ranga] >= 5)
{

new score;
if(sscanf(cmdtext, "d", score))
{
SendClientMessage(playerid, -1, "Wpisz: /dajscoreall [score]");
return 1;
}

for (new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{

SetPlayerScore(i, GetPlayerScore(playerid)+score);

}
}

new string[50];

format(string, sizeof(string), "AS: Da?e? %d puntkt?w wszytkim graczom",score);
SendClientMessage(playerid, ZIELONY, string);
format(string, sizeof(string), "Admin %s da? wszystkim %d punktow",PlayerName(playerid),score);
SendClientMessageToAll(ZIELONY, string);
}

return 1;
}


Prosz? o pomoc :/