float-int problem?
#2

So basically you are checking its equal to or greater then you need to do is

PHP код:
if(GetPlayerMoney(playerid) >= 100)// this means < is greater and = this is equal and it will check if floatround money is greater then getplayermoney or equal to floatroundthen it will send that message
{
             
//it will check for money if he have 100 or above then account will be performed
}
else
{
          
// here if player money is below then 100 it will send message you dont have enough money

Reply


Messages In This Thread
float-int problem? - by SumX - 22.08.2015, 23:34
Re: float-int problem? - by JeaSon - 22.08.2015, 23:40
Re: float-int problem? - by jamal1992 - 22.08.2015, 23:47
Re: float-int problem? - by SumX - 22.08.2015, 23:52
Re: float-int problem? - by Logofero - 23.08.2015, 11:53
Re: float-int problem? - by Threshold - 23.08.2015, 14:36

Forum Jump:


Users browsing this thread: 2 Guest(s)