04.08.2011, 23:20
Tudo q tem no ctrl + f = SetPlayerScore
й isso:
//Scores
new aname[MAX_PLAYER_NAME];
GetPlayerName(i, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
SetPlayerScore(i,dini_Int(file, "Level"));
new nomepl[MAX_PLAYER_NAME];
GetPlayerName(i, nomepl, sizeof(nomepl));
format(file, sizeof(file), PASTA_CONTAS, nomepl);
//
format(string, sizeof(string), "B ~p~G - L",dini_Int(file, "EXP"),dini_Int(file, "Level"),dini_Int(file, "Faculdade"),dini_Int(file, "Combustivel"));
TextDrawSetString(gText2[i], string);
//
format(string, sizeof(string), " ~w~EXP:~r~%d/~p~5 ~w~Level:~r~%d ~w~Estudo:~r~%d",dini_Int(file, "EXP"),dini_Int(file, "Level"),dini_Int(file, "Faculdade"),dini_Int(file, "Combustivel"));
TextDrawSetString(gText3[i], string);
TextDrawShowForPlayer(i, gText3[i]);
//
Como edito?
й isso:
//Scores
new aname[MAX_PLAYER_NAME];
GetPlayerName(i, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
SetPlayerScore(i,dini_Int(file, "Level"));
new nomepl[MAX_PLAYER_NAME];
GetPlayerName(i, nomepl, sizeof(nomepl));
format(file, sizeof(file), PASTA_CONTAS, nomepl);
//
format(string, sizeof(string), "B ~p~G - L",dini_Int(file, "EXP"),dini_Int(file, "Level"),dini_Int(file, "Faculdade"),dini_Int(file, "Combustivel"));
TextDrawSetString(gText2[i], string);
//
format(string, sizeof(string), " ~w~EXP:~r~%d/~p~5 ~w~Level:~r~%d ~w~Estudo:~r~%d",dini_Int(file, "EXP"),dini_Int(file, "Level"),dini_Int(file, "Faculdade"),dini_Int(file, "Combustivel"));
TextDrawSetString(gText3[i], string);
TextDrawShowForPlayer(i, gText3[i]);
//
Como edito?