Advertisement
agentsix1

test

May 8th, 2015 (edited)
2,511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. function MyFunction( Str )
  2.   if type( Str ) ~= "string" then return end
  3.   write( Str )
  4. end
  5. MyFunction( "I am writing text to the screen!\n" )
  6. MyFunction( true )
  7.  
  8. local function RandomNumber()
  9.   local rand = math.random(0,10)
  10.   return rand
  11. end
  12. local Num = RandomNumber()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement