SA-MP Forums Archive
[PEDIDO] Contagem de Score. +rep - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [PEDIDO] Contagem de Score. +rep (/showthread.php?tid=327141)



[PEDIDO] Contagem de Score. +rep - Gustavo_z - 20.03.2012

Alguйm aн tem um COD ou FS que conte o score do player ? E claro, que salve na conta do player, e que apareзa em cima do radar, tipo assim: SCORE: (tal score do player).

Desde, jб grato.


Re: [PEDIDO] Contagem de Score. +rep - DarkScripter - 20.03.2012

https://sampforum.blast.hk/showthread.php?tid=117851 +
https://sampwiki.blast.hk/wiki/TextDrawSetString

Divirta-se.


Re: [PEDIDO] Contagem de Score. +rep - Gustavo_z - 20.03.2012

FS ou COD em portugues ... --'


Re: [PEDIDO] Contagem de Score. +rep - histire - 20.03.2012

Biscoito


Re: [PEDIDO] Contagem de Score. +rep - Gustavo_z - 20.03.2012

.


Re: [PEDIDO] Contagem de Score. +rep - histire - 20.03.2012

--' quй tudo pronto man


Re: [PEDIDO] Contagem de Score. +rep - Gustavo_z - 20.03.2012

To pedindo apenas ajuda, samp forums, foi feito pra que


Re: [PEDIDO] Contagem de Score. +rep - BreakDriFT - 20.03.2012

Fala oque mais tu quer pra eu Anotar aqui ?
Quer um Cafйzinho ? um gm pronto ? so falar to anotando .



Re: [PEDIDO] Contagem de Score. +rep - steeldark - 20.03.2012

Sу uma base U.U..

pawn Код:
// no inicio do gm
new Text:Textdraw500;
new score[MAX_PLAYERS];
// noOnGameModeInit

    Textdraw500 = TextDrawCreate(5.000, 343.000000, "Score:"); // mude as coordenadas pra onde quizer
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw500, 3);
    TextDrawLetterSize(Textdraw500, 0.599999, 1.799999);
    TextDrawColor(Textdraw500, -16776961);
    TextDrawSetOutline(Textdraw500, 1);
    TextDrawSetProportional(Textdraw500, 1);
   
// em  OnGameModeExit

TextDrawHideForAll(Textdraw500);
TextDrawDestroy(Textdraw500);

//no onplayerupdat
new str[50]
format(str,sizeof(str),"Score: %i ",score[playerid]);
TextDrawSetString(Textdraw500, str);
TextDrawShowForPlayer(playerid, Textdraw500);

// se a score q se refere for pontos de morte:?
//no OnPlayerDeath
score[playerid] -= 1;
score[killerid] += 1;



Re: [PEDIDO] Contagem de Score. +rep - histire - 20.03.2012

chantili no cafйzin , cara tu nao estб pedindo ajuda em todos post seu tu tah apenas pedindo coisa pronta ( Fs, coder pronto)

@edit steel nao teria que faser 1 settime para atualizar me corrige se estiver errado.