Hey,
straight to the point I want to do this...
for example, when the player connects:
however, the code above does not set the player's data. it is refreshed upon restarting the server. is this possible or do I need to use a plugin and save server side stats?
thanks
straight to the point I want to do this...
for example, when the player connects:
Code:
if(self GetPlayerData("example_played") == "true") {
self iPrintln("Welcome back " + self.name + "!");
} else {
self SetPlayerData("example_played","true");
self iPrintln("Welcome, " + self.name + ". You appear to be new here. Please read the rules and enjoy your stay.");
}
however, the code above does not set the player's data. it is refreshed upon restarting the server. is this possible or do I need to use a plugin and save server side stats?
thanks