Hours and Coins
#2

Something like this would check if they had 20 hours and 100 coins, and then remove the coins.

pawn Код:
if(pInfo[playerid][Coins] >= 100 && pInfo[playerid][Hours] >= 20)
{
    pInfo[playerid][Coins] - amounthere;
    //Rest
}
Reply


Messages In This Thread
Hours and Coins - by farCry.xD - 01.08.2012, 15:27
Re: Hours and Coins - by Kindred - 01.08.2012, 15:30
Re: Hours and Coins - by farCry.xD - 01.08.2012, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)