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: php help

Previous Thread :: Next Thread 
Blaire is not online. Blaire
Joined: 23 Dec 2007
Total Posts: 406
02 Jan 2016 09:05 AM
$grouprank = file_get_contents('http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid='.$_SESSION['AdminId'].'&groupid=199219',true);
if (intval($AdminRank,true) > intval($grouprank,true)) {
echo $AdminRank.$grouprank;
echo 'AdminRank is bigger';
}

1516AdminRank is bigger
^output
i have no idea whats wrong


Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
02 Jan 2016 09:10 AM
obviously AdminRank is greater than grouprank
Report Abuse
Blaire is not online. Blaire
Joined: 23 Dec 2007
Total Posts: 406
02 Jan 2016 09:10 AM
adminrank=15
grouprank=16


Report Abuse
OzzyFin is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
02 Jan 2016 09:18 AM
so it's not 151 and 6 ok

are AdminRank and grouprank not integers, so you need to use intval?

the second argument, base, should be an int

anyways try echoing the result of intval
Report Abuse
Blaire is not online. Blaire
Joined: 23 Dec 2007
Total Posts: 406
02 Jan 2016 10:43 AM
^Same values
1516AdminRank is bigger



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