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: zmieniają
1. Zmieniają się sloty na 4 gdyż jest 20
Zmieniaj? si? sloty na 4 gdy? jest 20
Pomocy!
2. Nie zmieniają się levele!!!
Gdy mam wymagan? ile?? exp levele si? nie zmieniaj?.
Kod:
[lua]local lvl =
{
50, -- 1
500, -- 2
1000, -- 3
2000, -- 4
3000, -- 5
4500, -- 6
6000, -- 7
8000, -- 8
9500, -- 9
11000, -- 10
13000, -- 11
15000, -- 12
17000, -- 13
18000, -- 14
20000, -- 15
22500, -- 16
25000, -- 17
27500, -- 18
30000, -- 19
35000, -- 20
50000, -- 21
60000, -- 22
70000, -- 23
80000, -- 24
100000 -- 25
}

addEvent ( "onZombieWasted", true )
addEventHandler ( "onZombieWasted", root,
function ( killer )
addPlayerZombieKills ( killer )
end
)

function addPlayerZombieKills ( killer )
local account = getPlayerAccount ( killer )
if isGuestAccount ( account ) then
return
end

local H = tonumber ( getElementData ( killer, "Exp" ) ) or 0
local L = tonumber ( getElementData ( killer, "Level" ) ) or 0
setElementData ( killer, "Exp", tonumber ( H ) + 1 )
local H = ( H + 5 )
local L = ( L + 1 )
if ( L <= #lvl ) and ( lvl [ L ] ) and ( tonumber ( H ) >= tonumber ( lvl [ L ] ) ) then
setElementData ( killer, "Level", L )
triggerClientEvent(killer, "CreateBox", getRootElement(), "info", "Osi?gn??e? nast?pny level! Gratulacje!")
end
end


function addPlayerKills ( totalAmmo, killer, killerWeapon, bodypart )
if isElement(killer) and g...
3. Obiekty zmieniają pozycję?
Obiekty wykonane w SAMP Map Construction po wgraniu na serwer wisz? w powierzu i zmieniaj? swoj? pozycj?.. A tak?e po zmienie ustawie? gry zepsu? si? obraz. Mo?e to by? spowodowane jakim? b??dem w plikach gry?