[Ajuda]Score por Kill - 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: [Ajuda]Score por Kill (
/showthread.php?tid=326913)
[Ajuda]Score por Kill -
IgorMendes - 19.03.2012
Queria o seguinte sistema.
Quando o Player Matar, ele ganha +1 Score

Nгo faзo minima ideia de como fazer isso :\
Sei que peзo bastante mas vocкs serгo recompensados.
Re: [Ajuda]Score por Kill -
IgorMendes - 19.03.2012
Alguem?
Re: [Ajuda]Score por Kill -
Lуs - 19.03.2012
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerScore(killerid, GetPlayerScore(killerid)+1);
return 1;
}
Re: [Ajuda]Score por Kill -
JonathanFeitosa - 19.03.2012
Olha Esse GameMode,
https://sampforum.blast.hk/showthread.php?tid=261748
Re: [Ajuda]Score por Kill -
IgorMendes - 19.03.2012
Funcionou lуs,
Mas, e ele Morrer e perde um level? como fica?
Re: [Ajuda]Score por Kill -
ViniBorn - 19.03.2012
Nesse cуdigo do Los, somente o assassino ganha +1.
Se quiser que a vнtima perca 1, acrescente :
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid)-1);
Re: [Ajuda]Score por Kill -
IgorMendes - 19.03.2012
Vlw vini.
+REP pra vocк e pro Lуs