generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: game.CreatorId not accessible from plugins

Previous Thread :: Next Thread 
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
18 Mar 2015 10:57 PM
Why?
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
19 Mar 2015 06:23 PM
Bump
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
19 Mar 2015 07:05 PM
It's not published yet :)
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
19 Mar 2015 07:06 PM
That, or because CreatorId is assigned in an online-server, and not during development.
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
19 Mar 2015 07:17 PM
1) It is published.
2) Running print(game.CreatorId) in the command bar returns the correct number.

Perhaps it's because they don't want someone to run something like this on line 1?:

if game.CreatorId ~= 16465891 then return end
Report Abuse
edenojack is online. edenojack
Joined: 18 Jul 2008
Total Posts: 989
19 Mar 2015 07:22 PM

if game.CreatorId ~= "16465891" then return end
Its a longshot, but I don't know how you're trying to use it :P
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
19 Mar 2015 07:23 PM
print(game.CreatorId) simply returns 0 when called in the Plugin script.
Report Abuse
edenojack is online. edenojack
Joined: 18 Jul 2008
Total Posts: 989
19 Mar 2015 07:34 PM
I am unsure then, it may simply be because of strange security reasons.
if game.CreatorID == 6661337 then
game:delete()
end
Plugin bullying is the worst.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
21 Mar 2015 02:16 PM
You don't need CreatorId :) I just found this:


http://wiki.roblox.com/index.php?title=API:Class/Plugin/GetStudioUserId
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image