Property Problem
#1

The Code:
PHP код:
    foreach(new playerid:Player)
    {
        
pInfo[playerid][EarnFromProperty] = 0;
        if(
pInfo[playerid][CountProps] > && !pInfo[playerid][InAFK])
        {
            for(new 
i,sizeof(PropertyArray); i<ji++)
            {
                if(
PropertyArray[i][PropertyOwnerID] == playerid)
                {
                    
pInfo[playerid][EarnFromProperty] += PropertyArray[i][PropertyEarn];
                }
            }
            
SendFormatMessage(playerid,Yellow,"чйбмъ %d$ одрлсйн щббтмеък"pInfo[playerid][EarnFromProperty]);
            
AC_GiveMoney(playeridpInfo[playerid][EarnFromProperty]);
        }
    } 
after first paid, the property given me 0 moneys (any time)...
sorry about my bad english..
Reply
#2

Up...
Reply
#3

-_-?
Reply
#4

?
Reply
#5

Check this around your scripts related to this script.
pawn Код:
PropertyArray[i][PropertyEarn]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)