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
#9
RE: Need help with script

(07-15-2011, 12:48 AM)DRedshot Wrote: its easy!
int x == RandInt(1 , 50);
SetEntityActive("c_" +x, true);

Try that :p

EDIT: After a series of trial and error, I mutated your code to something different. Although, the items don't seem to spawn for some reason...

EDIT 2: I finally fixed it. Thanks for the help. Smile


For people who are interested,
SetEntityActive("c_"+GetLocalVarInt("RandomNumber"), true);
(This post was last modified: 07-15-2011, 02:35 AM by mzx987.)
07-15-2011, 01:00 AM
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)