Guest User

Untitled

a guest
Oct 20th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. integer rand_int_between()
  2. {
  3.     float number = llFrand(1.0);
  4.    
  5.     integer return_num = 0;
  6.    
  7.     if (number >= 0.5)
  8.     {
  9.         return_num = 1;
  10.     }
  11.  
  12.     return return_num;
  13. }
  14.  
  15. default
  16. {
  17.     state_entry()
  18.     {
  19.         llOwnerSay((string)rand_int_between());
  20.     }
  21. }
Add Comment
Please, Sign In to add comment