Need the money in bank
#1

Removed, thanks for the help!
Reply
#2

PHP код:
forward PropertyPayout();
public 
PropertyPayout()
{
    new 
str[64];
    for(new 
ii<MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
PlayerProps[i] > 0)
            {
                
GivePlayerMoney(iPlayerInfo[i][bank]);
                
format(str64"You earned $%d, from your properties!"EarningsForPlayer[i]);
                
SendClientMessage(i0xFFFF00AAstr);
            }
        }
    }

or

PHP код:
forward PropertyPayout();
public 
PropertyPayout()
{
    new 
str[64];
    for(new 
ii<MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
PlayerProps[i] > 0)
            {
                
GivePlayerMoney(iPlayerInfo[playerid][bank]);
                
format(str64"You earned $%d, from your properties!"EarningsForPlayer[i]);
                
SendClientMessage(i0xFFFF00AAstr);
            }
        }
    }

try both.
Reply
#3

No.

pawn Код:
PlayerInfo[i][bank] += EarningsForPlayer[i];
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)