Money Saving Problem, for the smart.
#1

Hey i have a save money system on my server because in my server players are ranked by how much money they have. And to help players get started i give them 10,000 on connect. My problems is people might quit then go on to get another 10 000. also btw i dont have a login system.
please help.
Reply
#2

You'd need a registration and login system in order to make it work correctly. Simply use something like "startMoney" and save it to the players profile. At OnPlayerConnect check the startMoney, if it's 0, give them $10,000, otherwise don't.

Код:
if(startMoney[playerid] == 0)
{
  GivePlayerMoney(playerid,10000);
  startMoney[playerid] = 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)