document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. addEventHandler ("onPlayerChat",getRootElement(),
  2. function(message,type) -- Funkce
  3. if (string.find(message,"!cash")) and not (string.find(message," !cash")) then -- Nase podminka
  4. local hrac = getPlayerName (source)
  5. local money = getPlayerMoney(source)
  6. outputChatBox("#ff9900" .. hrac .. " #ff9900ma " .. money .. " $", getRootElement(), 255, 0, 0,true ) -- Vypis do chatu
  7. end -- Uzavreni podminky
  8. end -- Uzavreni funkce
  9. )
');