Need the money in bank
#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


Messages In This Thread
Need the money in bank - by Fernado Samuel - 26.02.2013, 06:57
Re: Need the money in bank - by sscarface - 26.02.2013, 07:04
Re: Need the money in bank - by Vince - 26.02.2013, 07:25

Forum Jump:


Users browsing this thread: 1 Guest(s)