Hi, I want to know where is the code in what is money increasing speed. In my server i can get money really fast and other players too. So how can i repair it. If can please write to my skype - robis2000
private void PayUser_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
foreach (clsPlayer Ply in Players)
{
if (Ply.Payout > 4)
{
Connections[GetConnIdx(Ply.UniqueID)].Cash += 2;
Ply.Payout = 0;
}
}
}
private void PayUser_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
foreach (clsPlayer Ply in Players)
{
if (Ply.Payout > 4)
{
Connections[GetConnIdx(Ply.UniqueID)].Cash += 1;
Ply.Payout = 0;
}
}
}
private void PayUser_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
foreach (clsPlayer Ply in Players)
{
if (Ply.Payout > 6)
{
Connections[GetConnIdx(Ply.UniqueID)].Cash += 1;
Ply.Payout = 0;
}
}
}
// Money payout
private void PayUser_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
try
{
foreach (clsPlayer Ply in Players)
{
if (Ply.Payout > 6)
{
Connections[GetConnIdx(Ply.UniqueID)].Cash += 1;
Ply.Payout = 0;
}
}
}
catch { }
}