function przerwa1(gracz)
local praca = getTeamFromName ( "Policja" ) or ( "Pomoc Drogowa" ) or ( "Taxi" ) or ( "Pogotowie" ) or ( "BP Ultimate" )
if getPlayerName(gracz) == praca then
setElementData(gracz, "Status","Przerwa")
outputChatBox(getPlayerName(gracz).." #FFFFFFMa Przerwe!", getRootElement(), 255, 255, 255, true)
else
outputChatBox("Nie jeste? w ?adnej pracy!", getPlayerName(gracz), 255, 255, 255, true)
end
end
addCommandHandler("przerwa",przerwa1)