[AJUDA]Level inicial + Grana '-'
#1

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?
Reply
#2

?

Explica o quer fazer...
Reply
#3

tipo! Quero trocar o level inicial do player ex: O Player se registra e nasce com 10 leveis.. entende?
Reply
#4

Vocк Usa Qual tipo de GameMode ? GF ?
Reply
#5

Nгo! Tipow .. meu GM й aqueles de versгo baixa.. o BWE! '-' ( Brasil World Equality ) So q toltamente editado '-'
Reply
#6

Pesquisa Por:
pawn Код:
PlayerInfo[playerid][pLevel] = LevelDeInicio;
No LeveldeInicio, Bota Qual Level que ele й setado atualmente, dps sу й mudar.
Reply
#7

Vlw -q
Reply
#8

Resolvido? Caso nгo й sу voce reparar o enum, e a variavel do level,( maioria dos sv rpg usam enum ) para setar a tal valor, exemplo do GodFather:
pawn Код:
PlayerInfo[playerid][pAdmin] = 10; // admin 10 para o player
nesse caso ele seta admin 10 para o player...
Reply
#9

AFF! Me lembrei.. esqueci q nгo pegou!

pesquisei por isso:

PlayerInfo[playerid][pLevel]

e nгo apareceu nada =/
Reply
#10

Depende, o que no seu GM usa para setar level ?

pawn Код:
pLevel ?
Level ?
pScore ?
Score ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)