20.02.2014, 03:52
Hi ! In My Computer when Run Server And Load Score And Money But In Linux Not Load Money And score ! Why?
new file[128]; // This get's the lenght of the file GetPlayerName(playerid, pname, sizeof(pname)); // This get's the player name with the lenght of the player name format(file, sizeof(file), savefolder,strlower(pname)); // This describe's where to save and how to save it if(!dini_Exists(file)) { // If the file exist SendClientMessage(playerid,COLOR_RED,"[INFO]{FFFFFF}Pls Register."); ShowRegisterScreen(playerid); dini_Create(file); // Create the file dini_IntSet(file, "Score", 0); // Set's "Score" dini_IntSet(file, "Money", 0); // Set's "Money" SetPlayerScore(playerid, dini_Int(file, "Score")); // This describes where to load the score SetPlayerCash(playerid, dini_Int(file, "Money")); } else { SendClientMessage(playerid,COLOR_RED,"[INFO]{FFFFFF}Pls Login."); ShowLoginScreen(playerid); SetPlayerScore(playerid, dini_Int(file, "Score")); SetPlayerCash(playerid, dini_Int(file, "Money")); // the same thing }
plugins plugin1.so plugin2.so
plugin1 plugin 2