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 )