Hours and Coins
#1

How can I make a command to buy something , and for this buy you need coins and hours or something like this ?
pInfo[playerid][Coins] & pInfo[playerid][Hours]
I don't remember how it is ;-?
Reply
#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
#3

Tnx , this I searched
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)