[Ajuda] Colocar tanto que matou no TAB - 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] Colocar tanto que matou no TAB (
/showthread.php?tid=260004)
[Ajuda] Colocar tanto que matou no TAB -
danktog - 06.06.2011
Alguem ae sabe como por o score = tanto que matou quanto aperta TAB ?
e quando morrer diminuir la o score ?
vlw !!!
Re: [Ajuda] Colocar tanto que matou no TAB -
Hardware - 06.06.2011
Coloque isso no OnPlayerDeath:
SetPlayerScore(killerid, GetPlayerScore(killerid) +1)
Re: [Ajuda] Colocar tanto que matou no TAB - [S]trong - 06.06.2011
SetPlayerScore...
Re: [Ajuda] Colocar tanto que matou no TAB -
danktog - 06.06.2011
mais pra quando o cara morrer e diminuir ?
Re: [Ajuda] Colocar tanto que matou no TAB -
Falcon. - 06.06.2011
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1)
Dentro da public OnPlayerDeath..
playerid = Quem morreu
killerid = Quem matou