[Ajuda] Erro ao compilar!
#1

Alguйm ai passa um contador, por favor.
Reply
#2

PHP код:
Kills[killerid]++;
Deaths[playerid]++;
new 
PIDstring[50], TIDstring[50];
format(PIDstringsizeof PIDstring"Kills: %i Deaths: %i"Kills[playerid], Deaths[playerid]);
format(TIDstringsizeof TIDstring"Kills: %i Deaths: %i"Kills[killerid], Deaths[killerid]); // Esqueceu do " ); "
TextDrawSetString(Textdraw[playerid], PIDstring);
TextDrawSetString(Textdraw[killerid], TIDstring); 
Reply
#3

Troque por isso:

PHP код:
Kills[killerid]++;
Deaths[playerid]++;
new 
PIDstring[50], TIDstring[50];
format(PIDstringsizeof PIDstring"Kills: %i Deaths: %i"Kills[playerid], Deaths[playerid]);
format(TIDstringsizeof TIDstring"Kills: %i Deaths: %i"Kills[killerid], Deaths[killerid]);
TextDrawSetString(Textdraw[playerid], PIDstring);
TextDrawSetString(Textdraw[killerid], TIDstring); 
Quote:
Originally Posted by #Luca[S].
Посмотреть сообщение
PHP код:
Kills[killerid]++;
Deaths[playerid]++;
new 
PIDstring[50], TIDstring[50];
format(PIDstringsizeof PIDstring"Kills: %i Deaths: %i"Kills[playerid], Deaths[playerid]);
format(TIDstringsizeof TIDstring"Kills: %i Deaths: %i"Kills[killerid], Deaths[killerid]); // Esqueceu do " ); "
TextDrawSetString(Textdraw[playerid], PIDstring);
TextDrawSetString(Textdraw[killerid], TIDstring); 

Hб 2 erros ai FallweN.
Sim acabei de perceber, valeu!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)