14.05.2010, 08:58
Hello I got this thing where every minute it sets your score +1.. heres the code.
OnGameModinit:
Somewhere around script:
Now i want it to Start to be like Pay day in usual rp servers. if you join when theres 20 seconds to go before 1 min is done it says You have not stayed long to obtain a point.
OnGameModinit:
Код:
SetTimer("GiveScore",60000,1);
Код:
public GiveScore(playerid) { SetPlayerScore(playerid,GetPlayerScore(playerid)+1); GivePlayerMoney(playerid,10000); InfoBoxForPlayer(playerid, "1 Minute passed! +1 Score and 10,000 earned."); return 1; }