[Ajuda] Textdraws setstring
#9

Quote:
Originally Posted by JuniorTheDM
Посмотреть сообщение
Tirei o Settimer Mais Agora o Sistema nao Funfa .
https://sampwiki.blast.hk/wiki/OnPlayerDeath
Vejamos...

PHP код:
new Matou[MAX_PLAYERS];
public 
OnPlayerDeath(playeridkilleridreason)
{
    if(
killerid != INVALID_PLAYER_ID
    {
        
Matou[killerid] ++;
        new 
str[128]; 
        
format(strsizeof(str), "~b~Matou:~w~ %d"Matou[killerid]); 
        
PlayerTextDrawSetString(killeridINFO[2][killerid], str); 
    }
    return 
1;
}
//ao carregar os dados do jogador
Matou[playerid] = DOF2_GetInt(String"Matou");
//para salvar
DOF2_SetInt(String"Matou",  Matou[playerid]); 
Desculpa qualquer erro, costumo digitar o cуdigo no pawno e colar aqui, mas digitei aqui mesmo e com pressa..

Quote:
Originally Posted by JuniorTheDM
Посмотреть сообщение
PHP код:
//OnPlayerConnect
SetTimerEx("info"1000false"i"playerid); 
й So Colocar ISSO LA ?
Sim...
Reply


Messages In This Thread
Textdraws setstring - by JuniorTheDM - 21.07.2015, 20:47
Re: Textdraws setstring - by JPedro - 21.07.2015, 20:59
Re: Textdraws setstring - by IgorLuiz - 21.07.2015, 21:00
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 21:08
Re: Textdraws setstring - by IgorLuiz - 21.07.2015, 21:42
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 21:51
Re: Textdraws setstring - by humildadeforever - 21.07.2015, 21:58
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 22:08
Re: Textdraws setstring - by humildadeforever - 21.07.2015, 22:22
Re: Textdraws setstring - by JuniorTheDM - 21.07.2015, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)