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: dowód
1. Dowód Osobisty
Witam kto? powie co tutaj jest ?le, poniewa? ja ju? si? wypali?em xD
function pok(theClient, commandName, target)
    
local gracz = getPlayerAccount(theClient)
    
local wyrtak = getAccountData(gracz, "dowod:wyrobiono")
    
local gracz2 = getPlayerName(target)
    
local gracz3 = getPlayerFromName(gracz2)
    if 
wyrtak == true then
        outputChatBox
("Ukaza?e? dow?d osobisty dla gracza "..target, theClient)
        
outputChatBox("Gracz "..theClient.." ukaza? ci dow?d osobisty", gracz3)
    elseif 
wyrtak == false then
        outputChatBox
("Nie posiadasz dowodu!", theClient)
        
outputChatBox("Gracz "..theClient.." nie posiada dowodu osobistego!", gracz3)
    
end
end
addCommandHandler
("pokazdow", pok)