[Ajuda] A/D
#1

Fiz um textdraw pra A/D й nгo ta aparecendo code:

Код:
TextDrawShowForPlayer(i,TextdrawAD);
TextDrawShowForPlayer(i,TextdrawADDois);
TextDrawSetString(TextdrawADDois, string);
format(string,sizeof(string),"~R~~H~Delta  ( %i )      ~w~x       ~B~~H~Alpha ( %i  )",AAD_Kills_1,AAD_Kills_2);
//Na public
Код:
forward AAD_SpawnPlayer_2(i);
public AAD_SpawnPlayer_2(i){
Reply
#2

PHP код:
TextDrawShowForPlayer(i,TextdrawAD);
TextDrawShowForPlayer(i,TextdrawADDois);
format(string,sizeof(string),"~R~~H~Delta  ( %i )      ~w~x       ~B~~H~Alpha ( %i  )",AAD_Kills_1,AAD_Kills_2);
TextDrawSetString(TextdrawADDoisstring); 
Vc so deve usar o TextDrawSetString depois q definir o format
Reply
#3

pawn Код:
TextDrawShowForPlayer(i,TextdrawAD);
TextDrawShowForPlayer(i,TextdrawADDois);
format(string,sizeof(string),"~R~~H~Delta  ( %i )      ~w~x       ~B~~H~Alpha ( %i  )",AAD_Kills_1,AAD_Kills_2);
TextDrawSetString(TextdrawADDois, string);//Use the TextDrawSetString .
Reply
#4

Ae funcionou mais uma pergunta nгo atualiza como faz pra ele atualizar tipo de 0 pra 1 quando mata alguem
Reply
#5

poste como esta as variaveis
PHP код:
AAD_Kills_1
AAD_Kills_2 
na
PHP код:
public OnPlayerDeath(playeridkilleridreason
Reply
#6

VAAAAAAAAAAALEU <3
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)