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
Need help with script (SOLVED)
mzx987 Offline
Junior Member

Posts: 9
Threads: 3
Joined: Feb 2011
Reputation: 0
#1
Need help with script (SOLVED)

Just wanted to ask this question about scripting:

What did I do wrong with this string of code?

SetEntityActive("c_" RandInt(1, 50), true);

I wanna make it so it makes a random entity with the numbers 1-50 to activate in the room at random with "c_" as the prefix.
(This post was last modified: 07-15-2011, 02:37 AM by mzx987.)
07-14-2011, 10:11 PM
Find


Messages In This Thread
Need help with script (SOLVED) - by mzx987 - 07-14-2011, 10:11 PM
RE: Need help with script - by Roenlond - 07-14-2011, 10:17 PM
RE: Need help with script - by mzx987 - 07-14-2011, 10:18 PM
RE: Need help with script - by Roenlond - 07-14-2011, 10:21 PM
RE: Need help with script - by mzx987 - 07-15-2011, 12:26 AM
RE: Need help with script - by Kyle - 07-15-2011, 12:33 AM
RE: Need help with script - by DRedshot - 07-15-2011, 12:48 AM
RE: Need help with script - by Kyle - 07-15-2011, 12:49 AM
RE: Need help with script - by mzx987 - 07-15-2011, 01:00 AM



Users browsing this thread: 1 Guest(s)