SA-MP Forums Archive
Marcador de 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: Marcador de score (/showthread.php?tid=418472)



Marcador de score - Tellyknigh - 24.02.2013

Gostaria de uma marcador de score, alguйm poderia me ajuda ?


Re: Marcador de score - HumildadeAgain - 24.02.2013

pawn Код:
//Topo:
new score[MAX_PLAYERS];
//OnPlayerConnect:
score[playerid] = 0;
//OnPlayerDeath
score[killerid] ++;
SetPlayerScore(killerid,score[killerid]);



Re: Marcador de score - Blix - 24.02.2013

Quote:
Originally Posted by HumildadeAgain
Посмотреть сообщение
pawn Код:
//Topo:
new score[MAX_PLAYERS];
//OnPlayerConnect:
score[playerid] = 0;
//OnPlayerDeath
score[killerid] ++;
SetPlayerScore(killerid,score[killerid]);
pawn Код:
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
? / ? = ?


Re: Marcador de score - Tellyknigh - 24.02.2013

Vlw, Blix,Ajudo bastante //