Posts: 210
Threads: 68
Joined: Aug 2018
Reputation:
0
Hi, so i want to create a command , i want to create a var for player who i want and it should not delete or change to other player who entered with that player id , for exp : i want to give a timer to player (this : TempTimer[playerid] = 300; and it will decrease on server time , decrease every sec) so i want if the player was not in game this var decrease and also if server restarted that var for selected players not delete sorry for my bad english if is it possible helpme with showing some codes not only explains
Posts: 210
Threads: 68
Joined: Aug 2018
Reputation:
0
Dude i want to that var decrease even if the player was not in server , attention , this should not match with the player id , it should match with player name ! So when another player joined with same id (when other left) the var decrease for the first one not the new player with same playerid
Posts: 1,594
Threads: 61
Joined: Oct 2009
Reputation:
0
That is what it does. Save it in the player file or MySQL Database, like any other Stat, for example kills, money or whatever.
Posts: 210
Threads: 68
Joined: Aug 2018
Reputation:
0
Yeah, but i think it will just decrease when he is online !
Posts: 210
Threads: 68
Joined: Aug 2018
Reputation:
0
15.02.2019, 21:52
(
Последний раз редактировалось PoniStar; 16.02.2019 в 06:51.
)
EDITED - PROBLEM FIXED , THNX FOR YOUR HELP!