-AAG- Posted June 25, 2014 Share Posted June 25, 2014 I made a sale through FGL and all I need is a splash screen and to sitelock the game. I did some research and found out about YoYo_GetDomain(). So i show the splash for 3 seconds and then in the alarm event do:if (YoYo_GetDomain() == "www.sponsor.com" || YoYo_GetDomain() == "sponsor.com") {room_goto_next();}So the game shouldn't move from the splash screen if outside the domain. The topic was old thou. Is this still the way to go or is there any other magic function I should know about? Quote Link to comment Share on other sites More sharing options...
-AAG- Posted June 26, 2014 Author Share Posted June 26, 2014 I just found out about url_get_domain, it seems to do the same trick. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.