Facebook
From Paltry Tern, 7 Years ago, written in Lua.
This paste is a reply to dorsz from Harmless Tapir - go back
Embed
Viewing differences between dorsz and Re: dorsz
nagroda == 2000

function ustawianienagrody( playerSource,arg1 )
        if nagroda == 2000 then
            arg1=nagroda
                outputChatBox ( "Ustawiłeś nagrode wynoszaca " .. nagroda .."$", playerSource )
                    outputDebugString( getPlayerName(playerSource) .. " ustawil nagrode na " .. nagroda .. "$" )
    else 
            outputChatBox ( "Niestety ktos juz ustalil juz wczesniej nagrode", playerSource)
                outputDebugString( getPlayerName(playerSource ) .. " napotkal blad z ustawianiem nagrody" ) 
        end
end
addCommandHandler ( "ustawnagrode", ustawianienagrody )