Posts: 2,038
Threads: 17
Joined: Aug 2010
Reputation:
0
Show us at least a snippet of code, otherwise we cant help you.
Posts: 215
Threads: 25
Joined: Mar 2011
Reputation:
0
You need to create some saving system.
Maybe dini, maybe MySQL. I suggest MySQL.
Save player's score to username/ip on disconnect, and restore it from database/file on connect.
Posts: 4
Threads: 1
Joined: Mar 2011
Reputation:
0
@Stigg :
public payday() {
for (new i = 0; i < MAX_PLAYERS; i++) {
SendClientMessage(i,COLOR_BLUE,"Payday! Du erhдltst $10000!");
GivePlayerMoney(i,10000);
SetPlayerScore(i,GetPlayerScore(i)+1);
}
return 1;
}
@Johnson_boy :
I can't save it without MySQL?
Posts: 371
Threads: 6
Joined: Feb 2011
Reputation:
0
You can save it without MySQL.
Just say what saving system are you using?
Posts: 698
Threads: 107
Joined: Mar 2010
Reputation:
0
You can use dini in stead of MySQL
Posts: 4
Threads: 1
Joined: Mar 2011
Reputation:
0
What do you mean with saving system?
I think, i don't use any saving systems...