[Ajuda] TextDraw Spree
#3

Quote:
Originally Posted by SepZ
Посмотреть сообщение
PHP код:
new Spree[MAX_PLAYERS];
public 
OnPlayerDeath(playeridkilleridreason)
{
    
Spree[playerid] = 0
    
Spree[killerid]++; 
    
    new 
Str[20];
    
format(Strsizeof(Str), "Spree: %i"Spree[killerid]);
    
TextDrawSetString(SUATEXTDRAW[killerid], Str);
    return 
1;
}
/* 
    use como base e edite com sua var de spree
    e sua textdraw
*/ 
No caso, й uma TD para o player, portanto, o correto й a funзгo PlayerTextDrawSetString
Reply


Messages In This Thread
TextDraw Spree - by maxblaya01 - 28.04.2016, 04:36
Re: TextDraw Spree - by SepZ - 28.04.2016, 06:14
Re: TextDraw Spree - by F1N4L - 28.04.2016, 11:06

Forum Jump:


Users browsing this thread: 1 Guest(s)