| Tematy otagowane jako: zginięciu |
| 1. Informacja o zginięciu |
Witam, problem polega na wy?wietlaniu ca?y czas fists a zabijam gracza inn? broni? ni? r?ce, jaki? pomys??
[lua]if killer then
local kaccount = getPlayerAccount(killer)
if not getElementData(source, "bandit") then
addPlayerStats(killer, "humanity", math.random(-2500, -1000))
else
addPlayerStats(killer, "humanity", math.random(1000, 2500))
end
setElementData(killer, "murders", getElementData(killer, "murders") + 1)
setElementData(killer, "murders_total", getElementData(killer, "murders_total") + 1)
setAccountData(kaccount, "murders_total", getElementData(killer, "murders_total"))
if getElementData(killer, "humanity") < 0 then
setElementData(killer, "bandit", true)
end
if getElementData(source, "bandit") == true then
setElementData(killer, "banditskilled", getElementData(killer, "banditskilled") + 1)
end
if headshot == true then
setElementData(killer, "headshots", getElementData(killer, "headshots") + 1)
end
triggerClientEvent("onRollMessageStart", getRootElement(), ""..getPlayerName(source).." was killed by a player "..getPlayerName(kil... |
| 2. Spawn po zginięciu w danym miejscu |
Siema
Mam pytanie, pomo?e kto? jak zrobic to aby po zgini?ciu w danym miejscu, a bardziej cuboidzie odrodzi? sie w podanych koordach?
Bo nie wiem zbytnio jak to zrobi?
Z pomoc daje oraz |
| 3. [DM] Mapa po zginieciu |
| Witam, mam taki problem, gdy umieram zamiast zrespi? si? na jakim? respawnie wyskakuje mi mapa [http://imgur.com/a/JRoSq] i ona jest tak ca?y czas dop?ki si? gdzie? nie zrespie albo nie zmienie skina [/ss]. Wie kto? jak wy??czy? t? mape? |
|