addEventHandler("onPlayerWasted", root,
function (ammo, killer, weapon)
if killer then
if killer ~= source then
local ile = getElementData(killer, "doVip") or 0
setElementData(killer, "doVip", ile+0.2)
o coc mi chodzi aby jak gracz zabije kogos to dostawal te punkty
Podpis
Cześć w MTA jestem jako Rodzaje.
Wszystko jest po staremu nie zamierzam stawiać RPG.
addEventHandler("onPlayerWasted", root,
function (ammo, killer, weapon)
if killer then
if killer ~= source then
local acc = getPlayerAccount(killer)
if acc then
local ile = getAccountData(killer, "doVip") or 0
setAccountData(killer, "doVip", ile+0.2)
end
end
end
end)
Gracz kt?ry zabi? kogo? dostaje na konto 0,2 pkt - Aby je dosta? musi mie? konto w acl i musi by? na nie zalogowane.
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach