Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addEventHandler ("onPlayerChat",getRootElement(),
- function(message,type) -- Funkce
- if (string.find(message,"!cash")) and not (string.find(message," !cash")) then -- Nase podminka
- local hrac = getPlayerName (source)
- local money = getPlayerMoney(source)
- outputChatBox("#ff9900" .. hrac .. " #ff9900ma " .. money .. " $", getRootElement(), 255, 0, 0,true ) -- Vypis do chatu
- end -- Uzavreni podminky
- end -- Uzavreni funkce
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement