The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set a Global (Random) Integer?
ehovda321 Offline
Junior Member

Posts: 38
Threads: 22
Joined: Dec 2011
Reputation: 0
#1
How to set a Global (Random) Integer?

Would this work?

SetGlobalVarInt("buy_a", RandInt(7, 12));
SetGlobalVarInt("buy_b", RandInt(8, 14));
SetGlobalVarInt("buy_c", RandInt(3, 7));
SetGlobalVarInt("buy_d", RandInt(2, 6));

I want to set each GlobalVarInt to a Random Integer.

Thank you! Big Grin
03-13-2013, 09:42 PM
Find


Messages In This Thread
How to set a Global (Random) Integer? - by ehovda321 - 03-13-2013, 09:42 PM



Users browsing this thread: 1 Guest(s)