SA-MP Forums Archive
[Dъvida] Relacгo A Score - 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: [Dъvida] Relacгo A Score (/showthread.php?tid=327053)



[Dъvida] Relacгo A Score - shadauer - 19.03.2012

Minha Dъvida Й o Seguinte:

« No Meu Servidor, Todos Iniciam Com Score: 0

« Procurei Na GM, Mas Nгo Achei Nada Com Relaзгo A Score.

« O Que Eu Quero: Fazem Com Que O Score, Suba Cada Vez Que O Player Mate Alguem.

« Й Possнvel ? ? ?

Gracias



Re: [Dъvida] Relacгo A Score - @Riichard - 19.03.2012

Sim'
pawn Код:
SetPlayerScore(killerid, GetPlayerScore(playerid) + 1);
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
Estб ai,pra quando morre e quando mata.
Coloque em
pawn Код:
OnPlayerDeath



Re: [Dъvida] Relacгo A Score - shadauer - 19.03.2012

Nossa Tao Facil ....

Valew Mesmo Tio '-'


+REP



Re: [Dъvida] Relacгo A Score - @Riichard - 19.03.2012

'-'
Di Nada (:


Re: [Dъvida] Relacгo A Score - Delete_ - 19.03.2012

O certo й sу:

pawn Код:
SetPlayerScore(killerid, GetPlayerScore(playerid) + 1);

se usar esse:
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
o score vai subir cada vez que alguem matar, e diminuir cada vez que alguem morrer


Re: [Dъvida] Relacгo A Score - shadauer - 19.03.2012

Mais Й Do Jeito Q Ele Postou Q Eu Quero delete ^^

PS: Nгo Sou Retardado, Nгo Precisa Me Explicar Isso '' - 1 '' Й Algo Уbvio kkk'


Re: [Dъvida] Relacгo A Score - ViniBorn - 19.03.2012

Quote:
Originally Posted by shadauer
Посмотреть сообщение
Mais Й Do Jeito Q Ele Postou Q Eu Quero delete ^^

PS: Nгo Sou Retardado, Nгo Precisa Me Explicar Isso '' - 1 '' Й Algo Уbvio kkk'
Quote:
Originally Posted by OwnPlaay
Посмотреть сообщение
pawn Код:
SetPlayerScore(killerid, GetPlayerScore(playerid) + 1);
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
Se eu tenho 1000 de score, e mato alguйm que sу tem 50, o meu score cai pra 51

pawn Код:
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);



Re: [Dъvida] Relacгo A Score - @Riichard - 19.03.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Se eu tenho 1000 de score, e mato alguйm que sу tem 50, o meu score cai pra 51

pawn Код:
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
Cai nгo.
Pois eu uso esse em meu Servidor ali.
Se eu tenho 500 de score
mato 1
vo pra 501
e se morro
vo pra 500 denovo.


Re: [Dъvida] Relacгo A Score - shadauer - 19.03.2012

AWWWWWWWWWWWWWWWWW

Parei de Estudar Para Nгo Enfrentar Problemas, Mas Nгo Adiantou shauhsuahusahus'

Matematica Holy Fucked Is Back