|
| 31 Oct 2015 11:29 AM |
My algorithm:
if player inventory has (Gamepass ID here) then SCRIPT end
? |
|
|
| Report Abuse |
|
|
Xonious
|
  |
| Joined: 01 Jan 2009 |
| Total Posts: 1820 |
|
| |
|
|
| 31 Oct 2015 11:53 AM |
http://wiki.roblox.com/index.php/Absolute_beginner's_guide_to_scripting
|
|
|
| Report Abuse |
|
|
Devinoski
|
  |
| Joined: 12 Sep 2012 |
| Total Posts: 2587 |
|
| |
|
|
| 31 Oct 2015 12:01 PM |
"iScriptStuffz" ...
i like boxes and i cannot lie |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 12:03 PM |
| Anyone who has "Script" or "Dev" in their name probably doesn't know what something like a variable is |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 05:15 PM |
| Some help would be nice, if you can't help, then I will find my answers elsewhere. I know how variables work obviously, I mostly script in javascript at the moment. It would be nice if you guys had the maturity I would expect of fellow programmers. |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 05:17 PM |
| Also, do you not know what an algorithm is? Obviously I wasn't asking if that was script worthy, I was asking about the principle of the if statement. No questions were about a variable. I asked if the ALGORITHM was correct. Before insulting someone you should know basic English and read the whole thread. |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 05:19 PM |
| Your calling us programmers when 85% of the scripters here dont know what a stack is... Lmao |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 05:21 PM |
@cooldude I appreciate the backing but I would appreciate even more-so a solution to my thread. Either a direct answer or a hint of were to find it, and no, an absolute beginners guide to scripting isn't a place to start. My questions is about how to incorporate out of game aspects into in game environment |
|
|
| Report Abuse |
|
|
Egzekiel
|
  |
| Joined: 10 Jan 2011 |
| Total Posts: 1079 |
|
|
| 31 Oct 2015 05:28 PM |
Actually it's more like this:
if players(userId and Gamepass ID) then script end |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 06:08 PM |
Why the userId if I may ask. Wouldn't it be hard to individually type each player ID? The most efficient way I can think goes something like this Alogirithm(NOT SCRIPT)
if players.inventory.gamepass = gamepassID then
gamepass script end
|
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 06:34 PM |
I'm laughing right now.
i like boxes and i cannot lie |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 06:37 PM |
http://wiki.roblox.com/index.php?title=Game_pass
Here's your "algorithm" |
|
|
| Report Abuse |
|
|
|
| 31 Oct 2015 07:06 PM |
| Thanks! That wasn't too hard now was it? |
|
|
| Report Abuse |
|
|
n0ty
|
  |
| Joined: 28 Sep 2014 |
| Total Posts: 133 |
|
| |
|
|
| 31 Oct 2015 07:22 PM |
| Next time would you take over than 2 seconds to research your question before asking something that already has plenty of tutorials on it? |
|
|
| Report Abuse |
|
|
n0ty
|
  |
| Joined: 28 Sep 2014 |
| Total Posts: 133 |
|
| |
|
| |
|
|
| 04 Nov 2015 08:43 AM |
You probably took it from a Free Model.
i like boxes and i cannot lie |
|
|
| Report Abuse |
|
|
| |
|