How not to save properties
#1

Hi guys, I would put that in my server after disconnecting the player buys a property that is not saved.
If you need more information please contact the meantime, I leave you my filescript.




PHP код:
#include <a_samp>
#include <dini>
#define MAX_PROPERTIES 100
#define MAX_PROPERTIES_PER_PLAYER 4
#define UNBUYABLETIME 900
#define ENABLE_LOGIN_SYSTEM 1
#define ENABLE_MAP_ICON_STREAMER 1
#define REGISTER_COMMAND "/pr"  //do not use this
#define LOGIN_COMMAND "/pl"       //do not use this
new PropertiesAmount;
new 
MP;
enum propinfo
{
    
PropName[64],
    
Float:PropX,
    
Float:PropY,
    
Float:PropZ,
    
PropIsBought,
    
PropUnbuyableTime,
    
PropOwner[MAX_PLAYER_NAME],
    
PropValue,
    
PropEarning,
    
PickupNr,
}
new 
PropInfo[MAX_PROPERTIES][propinfo]; //CarInfo
new PlayerProps[MAX_PLAYERS];
new 
EarningsForPlayer[MAX_PLAYERS];
new 
Logged[MAX_PLAYERS];
public 
OnFilterScriptInit()
{
    
LoadProperties();
    
MP GetMaxPlayers();
    for(new 
ii<MPi++)
    {
        if(
IsPlayerConnected(i))
        {
            new 
pName[MAX_PLAYER_NAME];
            
GetPlayerName(ipNameMAX_PLAYER_NAME);
            for(new 
propidpropid PropertiesAmountpropid++)
            {
                if(
PropInfo[propid][PropIsBought] == 1)
                {
                    if(
strcmp(PropInfo[propid][PropOwner], pNametrue)==0)
                    {
                        
EarningsForPlayer[i] += PropInfo[propid][PropEarning];
                        
PlayerProps[i]++;
                    }
                }
            }
        }
    }
    
SetTimer("UpdateUnbuyableTime"600001);
    
#if ENABLE_MAP_ICON_STREAMER == 1
    
SetTimer("MapIconStreamer"5001);
    
#endif
    
SetTimer("PropertyPayout"600001);
    print(
"-------------------------------------------------");
    print(
"Property-System by =>Sandra<= Succesfully loaded!");
    print(
"-------------------------------------------------");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
PlayerProps[playerid] = 0;
    
Logged[playerid] = 1;
    
EarningsForPlayer[playerid] = 0;
    new 
pName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
    for(new 
propidpropid PropertiesAmountpropid++)
    {
        if(
PropInfo[propid][PropIsBought] == 1)
        {
            if(
strcmp(PropInfo[propid][PropOwner], pNametrue)==0)
            {
                
EarningsForPlayer[playerid] += PropInfo[propid][PropEarning];
                
PlayerProps[playerid]++;
            }
        }
    }
    
#if ENABLE_LOGIN_SYSTEM == 0
    
if(PlayerProps[playerid] > 0)
    {
        new 
str[128];
        
format(str128"You currently own %d properties. Type /myproperties for more info about them."PlayerProps[playerid]);
        
SendClientMessage(playerid0x99FF66AAstr);
    }
    
#endif
    
return 1;
}
public 
OnPlayerDisconnect(playeridreason)
{
        new 
pName[MAX_PLAYER_NAME];
        new 
propid IsPlayerNearProperty(playerid);
        
GetPlayerName(playeridpNamesizeof(pName));
        
format(PropInfo[propid][PropOwner], MAX_PLAYER_NAME"Nobody");
        
PropInfo[propid][PropIsBought] = 0;
        
PropInfo[propid][PropUnbuyableTime] = 0;
        
GivePlayerMoney(playerid, (PropInfo[propid][PropValue]/2));
        
PlayerProps[playerid] = 0;
        return 
1;
}
public 
OnPlayerText(playeridtext[])
{
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    new 
cmd[256], idxtmp[256];
    
cmd strtok(cmdtextidx);
    
//================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    
if(strcmp(cmd"/propertyhelp"true)==|| strcmp(cmd"/prophelp"true)==0)
    {
        
SendClientMessage(playerid0x6699FFAA"|=========================================================|");
        new 
str[128];
        
SendClientMessage(playerid0x6699FFAA"Property-related commands:");
        
#if ENABLE_LOGIN_SYSTEM == 1
        
format(str128"%s  ==>> To register your name in our property-database"REGISTER_COMMAND);
        
SendClientMessage(playerid0x66CCFFAAstr);
        
format(str128"%s  ==>> To log into our property-database"LOGIN_COMMAND);
        
SendClientMessage(playerid0x66CCFFAAstr);
        
#endif
        
SendClientMessage(playerid0x66CCFFAA"/buyproperty or /buyprop  ==>> To buy a property");
        
SendClientMessage(playerid0x66CCFFAA"/sellproperty or /sellprop  ==>> To sell one of your properties");
        
SendClientMessage(playerid0x66CCFFAA"/myproperties or /myprops  ==>> To see a list of all properties you own");
        if(
IsPlayerAdmin(playerid))
        {
            
SendClientMessage(playerid0x66CCFFAA"/sellallproperties [Admin Only] ==>> To sell all properties for all players");
        }
        
SendClientMessage(playerid0x6699FFAA"|=========================================================|");
        return 
1;
    }
    
//================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    
if(strcmp(cmd"/buyproperty"true)==|| strcmp(cmd"/buyprop"true)==0)
    {
        new 
str[128];
        
#if ENABLE_LOGIN_SYSTEM == 1
        
if(Logged[playerid] == 0)
        {
            
format(str128"You have to login before you can buy or sell properties! Use: %s"LOGIN_COMMAND);
            
SendClientMessage(playerid0xFF0000AAstr);
            return 
1;
        }
        
#endif
        
        
new propid IsPlayerNearProperty(playerid);
        if(
propid == -1)
        {
            
SendClientMessage(playerid0xFF0000AA"You're not close enough to a property");
            return 
1;
        }
        if(
PlayerProps[playerid] == MAX_PROPERTIES_PER_PLAYER)
        {
            
format(str128"You already have %d properties, you can't buy more properties!"PlayerProps[playerid]);
            
SendClientMessage(playerid0xFF0000AAstr);
            return 
1;
        }
        if(
PropInfo[propid][PropIsBought] == 1)
        {
            new 
ownerid GetPlayerID(PropInfo[propid][PropOwner]);
            if(
ownerid == playerid)
            {
                
SendClientMessage(playerid0xFF0000AA"You already own this property!");
                return 
1;
            }
            else
            {
                if(
PropInfo[propid][PropUnbuyableTime] > 0)
                {
                    
format(str128"This property is already bought by %s."PropInfo[propid][PropOwner], PropInfo[propid][PropUnbuyableTime]);
                    
SendClientMessage(playerid0xFF0000AAstr);
                    return 
1;
                }
            }
        }
        if(
GetPlayerMoney(playerid) < PropInfo[propid][PropValue])
        {
            
format(str128"You don't have enough money! You need $%d,-"PropInfo[propid][PropValue]);
            
SendClientMessage(playerid0xFF0000AAstr);
            return 
1;
        }
        new 
pName[MAX_PLAYER_NAME];
        
GetPlayerName(playeridpNamesizeof(pName));
        if(
PropInfo[propid][PropIsBought] && PropInfo[propid][PropUnbuyableTime] == 0)
        {
            new 
ownerid GetPlayerID(PropInfo[propid][PropOwner]);
            
format(str128"%s has bought your property \"%s\". You recieved 50 percent of it's value ($%d)"pNamePropInfo[propid][PropName], (PropInfo[propid][PropValue]/2));
            
GivePlayerMoney(ownerid, (PropInfo[propid][PropValue]/2));
            
SendClientMessage(ownerid0xFFFF00AAstr);
            
PlayerProps[ownerid]--;
        }
        
PropInfo[propid][PropOwner] = pName;
        
PropInfo[propid][PropIsBought] = 1;
        
PropInfo[propid][PropUnbuyableTime] = UNBUYABLETIME;
        
EarningsForPlayer[playerid] += PropInfo[propid][PropEarning];
        
GivePlayerMoney(playerid, (0-PropInfo[propid][PropValue]));
        
format(str128"You have bought the property \"%s\" for $%d"PropInfo[propid][PropName], PropInfo[propid][PropValue]);
        
SendClientMessage(playerid0xFFFF00AAstr);
        
format(str128"%s has bought the property \"%s\"."pNamePropInfo[propid][PropName]);
        
SendClientMessageToAllEx(playerid0xFFFF00AAstr);
        
PlayerProps[playerid]++;
        return 
1;
    }
    
//================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    
if(strcmp(cmd"/sellproperty"true) == || strcmp(cmd"/sellprop"true) == 0)
    {
        new 
str[128];
        
#if ENABLE_LOGIN_SYSTEM == 1
        
if(Logged[playerid] == 0)
        {
            
format(str128"You have to login before you can buy or sell properties! Use: %s"LOGIN_COMMAND);
            
SendClientMessage(playerid0xFF0000AAstr);
            return 
1;
        }
        
#endif
        
new propid IsPlayerNearProperty(playerid);
        if(
propid == -1)
        {
            
SendClientMessage(playerid0xFF0000AA"You're not close enough to a property");
            return 
1;
        }
        if(
PropInfo[propid][PropIsBought] == 1)
        {
            new 
ownerid GetPlayerID(PropInfo[propid][PropOwner]);
            if(
ownerid != playerid)
            {
                
SendClientMessage(playerid0xFF0000AA"You don't own this property!");
                return 
1;
            }
        }
          new 
pName[MAX_PLAYER_NAME];
        
GetPlayerName(playeridpNamesizeof(pName));
        
format(PropInfo[propid][PropOwner], MAX_PLAYER_NAME"Nobody");
        
PropInfo[propid][PropIsBought] = 0;
        
PropInfo[propid][PropUnbuyableTime] = 0;
        
GivePlayerMoney(playerid, (PropInfo[propid][PropValue]/2));
        
format(str128"You have sold your property \"%s\" for 50 percents of its value: $%d,-"PropInfo[propid][PropName], PropInfo[propid][PropValue]/2);
        
SendClientMessage(playerid0xFFFF00AAstr);
        
format(str128"%s has sold the property \"%s\"."pNamePropInfo[propid][PropName]);
        
SendClientMessageToAllEx(playerid0xFFFF00AAstr);
        
PlayerProps[playerid]--;
        
EarningsForPlayer[playerid] -= PropInfo[propid][PropEarning];
        return 
1;
    }
    
//================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    
if(strcmp(cmd"/myproperties"true) == || strcmp(cmd"/myprops"true) == 0)
    {
        new 
str[128], ownerid;
        
#if ENABLE_LOGIN_SYSTEM == 1
        
if(Logged[playerid] == 0)
        {
            
format(str128"You have to login before you can buy or sell properties! Use: %s"LOGIN_COMMAND);
            
SendClientMessage(playerid0xFF0000AAstr);
            return 
1;
        }
        
#endif
        
if(PlayerProps[playerid] == 0)
        {
            
SendClientMessage(playerid0xFF0000AA"You don't own a property!");
            return 
1;
        }
        
format(str128"|============ Your %d Properties: =============|"PlayerProps[playerid]);
        
SendClientMessage(playerid0x99FF66AAstr);
        for(new 
propidpropid PropertiesAmountpropid++)
        {
            if(
PropInfo[propid][PropIsBought] == 1)
            {
                
ownerid GetPlayerID(PropInfo[propid][PropOwner]);
                if(
ownerid == playerid)
                {
                     
format(str128">> \"%s\"   Value: $%d,-   Earnings: $%d,-"PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning]);
                     
SendClientMessage(playerid0x99FF66AAstr);
                }
            }
        }
        
SendClientMessage(playerid0x99FF66AA"|============================================|");
        return 
1;
    }
    
//================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    #if ENABLE_LOGIN_SYSTEM == 1
    
if(strcmp(cmdREGISTER_COMMANDtrue) == 0)
    {
        new 
str[128];
        if(
Logged[playerid] == 1) return SendClientMessage(playerid0xFF0000AA"You're already logged in!");
        
tmp strtok(cmdtextidx);
        if(!
strlen(tmp))
        {
            
format(str128"Use: %s 'Your Password'"REGISTER_COMMAND);
            
SendClientMessage(playerid0xFF9966AAstr);
            return 
1;
        }
        if(
strlen(tmp) < 5) return SendClientMessage(playerid0xFF9966AA"Password too short! At least 5 characters.");
        if(
strlen(tmp) > 20) return SendClientMessage(playerid0xFF9966AA"Password too long! Max 20 characters.");
        new 
pName[MAX_PLAYER_NAME], pass;
        
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
        
pass dini_Int("PropertySystem/PlayerAccounts.txt"pName);
        if(
pass == 0)
        {
            
dini_IntSet("PropertySystem/PlayerAccounts.txt"pNameencodepass(tmp));
            
Logged[playerid] = 1;
            
format(str128"Your name is now registered in our property-database. Next time use \"%s %s\" to login"LOGIN_COMMANDtmp);
            
SendClientMessage(playerid0x99FF66AAstr);
        }
        else
        {
            
format(str128"This name is already registered! Use %s to login!"LOGIN_COMMAND);
            
SendClientMessage(playerid0xFF9966AAstr);
        }
        return 
1;
    }
    
//================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    
if(strcmp(cmdLOGIN_COMMANDtrue) == 0)
    {
        new 
str[128];
        if(
Logged[playerid] == 1) return SendClientMessage(playerid0xFF0000AA"You're already logged in!");
        
tmp strtok(cmdtextidx);
        if(!
strlen(tmp))
        {
            
format(str128"Use: %s 'Your Password'"LOGIN_COMMAND);
            
SendClientMessage(playerid0xFF9966AAstr);
            return 
1;
        }
        new 
pName[MAX_PLAYER_NAME], pass;
        
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
        
pass dini_Int("PropertySystem/PlayerAccounts.txt"pName);
        if(
pass == 0)
        {
            
format(str128"This name is not registered yet! Use %s to register this name!"REGISTER_COMMAND);
            
SendClientMessage(playerid0xFF9966AAstr);
        }
        else
        {
            if(
pass == encodepass(tmp))
            {
                
Logged[playerid] = 1;
                
SendClientMessage(playerid0x99FF66AA"You're now logged in! You can now buy and sell properties!");
            }
            else
            {
                
SendClientMessage(playerid0xFF0000AA"Wrong Password");
            }
        }
        
#if ENABLE_LOGIN_SYSTEM == 1
        
if(PlayerProps[playerid] > 0)
        {
            
format(str128"You currently own %d properties. Type /myproperties for more info about them."PlayerProps[playerid]);
            
SendClientMessage(playerid0x99FF66AAstr);
        }
        
#endif
        
return 1;
    }
    
#endif
    //================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    
if(strcmp(cmd"/sellallproperties"true)==0)
    {
        if(
IsPlayerAdmin(playerid))
        {
            for(new 
propidpropid<PropertiesAmountpropid++)
            {
                
format(PropInfo[propid][PropOwner], MAX_PLAYER_NAME"Nobody");
                
PropInfo[propid][PropIsBought] = 0;
                
PropInfo[propid][PropUnbuyableTime] = 0;
            }
            for(new 
ii<MAX_PLAYERSi++)
            {
                if(
IsPlayerConnected(i))
                {
                    
PlayerProps[i] = 0;
                }
            }
            new 
str[128], pName[24];
            
GetPlayerName(playeridpName24);
            
format(str128"Admin %s has reset all properties!"pName);
            
SendClientMessageToAll(0xFFCC66AAstr);
        }
        return 
1;
    }
    
//================================================================================================================================
    //================================================================================================================================
    //================================================================================================================================
    
return 0;
}
public 
OnPlayerPickUpPickup(playeridpickupid)
{
    new 
propid = -1;
    for(new 
idid<MAX_PROPERTIESid++)
    {
        if(
PropInfo[id][PickupNr] == pickupid)
        {
            
propid id;
            break;
        }
    }
    if(
propid != -1)
    {
        new 
str[128];
        
format(str128"~y~\"%s\"~n~~r~Value: ~y~$%d~n~~r~Earning: ~y~$%d~n~~r~Owner: ~y~%s"PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning], PropInfo[propid][PropOwner]);
        
GameTextForPlayer(playeridstr60003);
    }
    return 
1;
}
stock LoadProperties()
{
    if(
fexist("PropertySystem/PropertyInfoo.txt"))
    {
        
CountProperties();
        new 
Argument[9][70];
        new 
entry[256], BoughtProps;
        new 
Filepropfile fopen("PropertySystem/PropertyInfoo.txt"io_read);
        if (
propfile)
        {
            for(new 
idid<PropertiesAmountid++)
            {
                
fread(propfileentry);
                
split(entryArgument',');
                
format(PropInfo[id][PropName], 64"%s"Argument[0]);
                
PropInfo[id][PropX] = floatstr(Argument[1]);
                
PropInfo[id][PropY] = floatstr(Argument[2]);
                
PropInfo[id][PropZ] = floatstr(Argument[3]);
                
PropInfo[id][PropValue] = strval(Argument[4]);
                
PropInfo[id][PropEarning] = strval(Argument[5]);
                
format(PropInfo[id][PropOwner], MAX_PLAYER_NAME"%s"Argument[6]);
                
PropInfo[id][PropIsBought] = strval(Argument[7]);
                
PropInfo[id][PropUnbuyableTime] = strval(Argument[8]);
                
PropInfo[id][PickupNr] = CreatePickup(12731PropInfo[id][PropX], PropInfo[id][PropY], PropInfo[id][PropZ]);
                if(
PropInfo[id][PropIsBought] == 1)
                {
                    
BoughtProps++;
                }
            }
            
fclose(propfile);
            
printf("===================================");
            
printf("||    Created %d Properties     ||"PropertiesAmount);
            
printf("||%d of the properties are bought||"BoughtProps);
            
printf("===================================");
        }
    }
}
stock SaveProperties()
{
    if(
fexist("PropertySystem/PropertyInfo.txt"))
    {
        
CountProperties();
        new 
Argument[9][70];
        new 
entry[256], BoughtProps;
        new 
Filepropfile fopen("PropertySystem/PropertyInfo.txt"io_read);
        if (
propfile)
        {
            for(new 
idid<PropertiesAmountid++)
            {
                
fread(propfileentry);
                
split(entryArgument',');
                
format(PropInfo[id][PropName], 64"%s"Argument[0]);
                
PropInfo[id][PropX] = floatstr(Argument[1]);
                
PropInfo[id][PropY] = floatstr(Argument[2]);
                
PropInfo[id][PropZ] = floatstr(Argument[3]);
                
PropInfo[id][PropValue] = strval(Argument[4]);
                
PropInfo[id][PropEarning] = strval(Argument[5]);
                
format(PropInfo[id][PropOwner], MAX_PLAYER_NAME"%s"Argument[6]);
                
PropInfo[id][PropIsBought] = strval(Argument[7]);
                
PropInfo[id][PropUnbuyableTime] = strval(Argument[8]);
                
PropInfo[id][PickupNr] = CreatePickup(12731PropInfo[id][PropX], PropInfo[id][PropY], PropInfo[id][PropZ]);
                if(
PropInfo[id][PropIsBought] == 1)
                {
                    
BoughtProps++;
                }
            }
            
fclose(propfile);
            
printf("===================================");
            
printf("||    Created %d Properties     ||"PropertiesAmount);
            
printf("||%d of the properties are bought||"BoughtProps);
            
printf("===================================");
        }
    }
}
forward split(const strsrc[], strdest[][], delimiter);
public 
split(const strsrc[], strdest[][], delimiter)
{
    new 
ili;
    new 
aNum;
    new 
len;
    while(
<= strlen(strsrc)){
        if(
strsrc[i]==delimiter || i==strlen(strsrc)){
            
len strmid(strdest[aNum], strsrclii128);
            
strdest[aNum][len] = 0;
            
li i+1;
            
aNum++;
        }
        
i++;
    }
    return 
1;
}
stock CountProperties()
{
    new 
entry[256];
    new 
Filepropfile fopen("PropertySystem/PropertyInfo.txt"io_read);
    while(
fread(propfileentry256))
    {
        
PropertiesAmount++;
      }
      
fclose(propfile);
}
forward IsPlayerNearProperty(playerid);
public 
IsPlayerNearProperty(playerid)
{
    new 
Float:Distance;
    for(new 
propprop<PropertiesAmountprop++)
    {
        
Distance GetDistanceToProperty(playeridprop);
        if(
Distance 5.0)
        {
            return 
prop;
        }
    }
    return -
1;
}
forward Float:GetDistanceToProperty(playeridProperty);
public 
Float:GetDistanceToProperty(playeridProperty)
{
    new 
Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2;
    
GetPlayerPos(playerid,x1,y1,z1);
    
x2 PropInfo[Property][PropX];
    
y2 PropInfo[Property][PropY];
    
z2 PropInfo[Property][PropZ];
    return 
floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
}
stock GetPlayerID(const Name[])
{
    for(new 
ii<MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            new 
pName[MAX_PLAYER_NAME];
            
GetPlayerName(ipNamesizeof(pName));
            if(
strcmp(NamepNametrue)==0)
            {
                return 
i;
            }
        }
    }
    return -
1;
}
stock SendClientMessageToAllEx(exeptioncolor, const message[])
{
    for(new 
ii<MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
!= exeption)
            {
                
SendClientMessage(icolormessage);
            }
        }
    }
}
forward UpdateUnbuyableTime();
public 
UpdateUnbuyableTime()
{
    for(new 
propidpropid<PropertiesAmountpropid++)
    {
        if(
PropInfo[propid][PropIsBought] == 1)
        {
            if(
PropInfo[propid][PropUnbuyableTime] > 0)
            {
                
PropInfo[propid][PropUnbuyableTime]--;
            }
        }
    }
}
stock encodepass(buf[]) {
    new 
length=strlen(buf);
    new 
s1 1;
    new 
s2 0;
    new 
n;
    for (
n=0n<lengthn++)
    {
       
s1 = (s1 buf[n]) % 65521;
       
s2 = (s2 s1)     % 65521;
    }
    return (
s2 << 16) + s1;
}
forward MapIconStreamer();
public 
MapIconStreamer()
{
    for(new 
ii<MPi++)
    {
        if(
IsPlayerConnected(i))
        {
            new 
Float:SmallestDistance 99999.9;
            new 
CPFloat:OldDistance;
            for(new 
propidpropid<PropertiesAmountpropid++)
            {
                
OldDistance GetDistanceToProperty(ipropid);
                if(
OldDistance SmallestDistance)
                {
                    
SmallestDistance OldDistance;
                    
CP propid;
                }
            }
            
RemovePlayerMapIcon(i31);
            if(
PropInfo[CP][PropIsBought] == 1)
            {
                
SetPlayerMapIcon(i31PropInfo[CP][PropX], PropInfo[CP][PropY], PropInfo[CP][PropZ], 320);
            }
            else
            {
                
SetPlayerMapIcon(i31PropInfo[CP][PropX], PropInfo[CP][PropY], PropInfo[CP][PropZ], 310);
            }
        }
    }
}
forward PropertyPayout();
public 
PropertyPayout()
{
    new 
str[64];
    for(new 
ii<MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
PlayerProps[i] > 0)
            {
                
GivePlayerMoney(iEarningsForPlayer[i]);
                
format(str64"You earned $%d,- from your properties!"EarningsForPlayer[i]);
                
SendClientMessage(i0xFFFF00AAstr);
            }
        }
    }


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)