01.08.2012, 15:30
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
}