Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function oblicz(plr, com, arg1, arg2, arg3)
- if not arg1 or not arg2 or not arg3 then return outputChatBox("Nie podano wszystkich argumentów!", player)
- oblicz = tonumber(arg1) + (tonumber(arg2) * tonumber(arg3))
- outputChatBox(string.format("Wynik działania %s + %s * %s jest równy %d", arg1, arg2, arg3, oblicz))
- end
- addCommandHandler("oblicz", oblicz)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement