Hi! Need help.
#1

How i can make working paycheck like every 10min you get this amount money and score.
i have working saving load system.
PHP код:
enum pInfo
pCash
,
pScore 
PHP код:
PlayerInfo[playerid][pScore]++;
SetPlayerScore(playeridPlayerInfo[playerid][pScore]); 
I should take score from pScore and, it to Tablist score and give __ this amount money.
Reply
#2

Use SetTimer (SetTimerEx)
Reply
#3

if you are asking for suggestion then no because it will only give him money and score with the things which are alredy saved but if he is in game and he earned a score by some moethod it dosent gets saved till he disconect so make a payday callback like
public Payday()
{
for(new players=0;players<=MAX_PLAYERS;players++)
{
SetPlayerScore(players,GetPlayerScore(players)+1);

}
return 1;
}
Reply
#4

How i can make script loading player's score?
Reply
#5

use this:
https://sampforum.blast.hk/showthread.php?tid=207768
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)