SA-MP Forums Archive
[Ajuda] nгo conta quantas mortes o player tem - 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] nгo conta quantas mortes o player tem (/showthread.php?tid=587794)



nгo conta quantas mortes o player tem - zPawnu - 02.09.2015

olб pessoal tudo bom ? bom eu tenho uma textdraw aqui que tipo o player que matar conta +1 kill na textdraw, porem nгo estб mostrando ai o player morre depois que o outro player te mata novamente conta para os 2 o kill

onplayerdeath
PHP Code:
    Matou[killerid]++; 
public Status(playerid)
PHP Code:
    format(Stringsizeof(String), "murders: ~w~%d",Matou);
    
PlayerTextDrawSetString(playeridHUD3[playerid], String); 



Re: nгo conta quantas mortes o player tem ajudem :s - FallweN - 02.09.2015

PHP Code:
format(Stringsizeof(String), "murders: ~w~%d",Matou[killerid]); 
    
PlayerTextDrawSetString(playeridHUD3[killerid], String); 



Re: nгo conta quantas mortes o player tem ajudem :s - PT - 02.09.2015

PHP Code:
    format(Stringsizeof(String), "murders: ~w~%d",Matou[playerid]); 
    
PlayerTextDrawSetString(playeridHUD3[playerid], String);