[Ajuda] nгo conta quantas mortes o player tem
#1

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); 
Reply
#2

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

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


Forum Jump:


Users browsing this thread: 2 Guest(s)