sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 31 Mar 2015 01:23 PM |
make a script that does different things for mobile users and people on a computer? I want to make the button play video ads for people on mobile and use marketplace service to charge like 5 R$ to do a certain thing if they arent on a mobile device
https://www.youtube.com/watch?v=67qworViFpY |
|
|
| Report Abuse |
|
|
Geomaster
|
  |
| Joined: 05 Jul 2008 |
| Total Posts: 1480 |
|
|
| 31 Mar 2015 01:24 PM |
You can learn yourself
Also, no discriminating against the PC masterrace |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2015 01:25 PM |
Here is your solution
http://wiki.roblox.com/index.php?title=Mobile_Video_Ads |
|
|
| Report Abuse |
|
|
|
| 31 Mar 2015 01:27 PM |
| http://wiki.roblox.com/index.php?title=API:Class/UserInputService/TouchEnabled |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 31 Mar 2015 01:28 PM |
You can depict what device you're on using UserInputService. http://wiki.roblox.com/index.php?title=API:Class/UserInputService/TouchEnabled
Everything else is up to you. You've already been provided with a link to mobile ads. Here's promptproductpurchase;
http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/PromptProductPurchase
-=Robo=- |
|
|
| Report Abuse |
|
|
sd10099
|
  |
| Joined: 13 Sep 2011 |
| Total Posts: 12804 |
|
|
| 31 Mar 2015 01:29 PM |
thanks @epic and ro I already how to do marketplace and the ads
https://www.youtube.com/watch?v=67qworViFpY |
|
|
| Report Abuse |
|
|