local gracz = getPlayerName ( cel )
local konto = getPlayerAccount(cel)
if getAccountData(konto, "Paszport") then
outputChatBox ("Gracz "..gracz.." Posiada Paszport", cel)
zrobi?em tak ale sprawdzam np kolege i daje moj nick
function paszport (cel,cmd)
local gracz = getPlayerName ( cel )
local konto = getPlayerAccount(cel)
if getAccountData(konto, "Paszport") then
outputChatBox ("Gracz "..gracz.." Posiada Paszport", cel)
end
end
addCommandHandler("paszport",paszport)
addEvent ("Paszport", true)
function sprawdzPasz(cel,thePlayer,player)
local gracz = getPlayerFromName(player)
local konto = getPlayerAccount(cel)
if getAccountData(konto, "Paszport") then
outputChatBox ("Gracz "..gracz.." Posiada Paszport", cel)
return true
else
outputChatBox("Nie masz licencji. Na typ Broni nr.1", cel)
return false
end
end
addEventHandler ("Paszport", root, sprawdzPasz)
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