Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: score)
1. [INNE] Textdraw (+ aktualny score)
Witam mam taki kod kt?ry nie chce mi dzia?a? :/

Kod:

public TDScore(){
for(new i, Max = GetMaxPlayers(); i < Max; i++)
{
if(IsPlayerConnected(i))
{
new string_Score[32];
new Score = GetPlayerScore(i);

if(Score <= 9){
format(string_Score, sizeof string_Score, "~w~%d", Score);
TextDrawSetString(Exp[0], string_Score);}

if(Score >= 10){
format(string_Score, sizeof string_Score, "~w~%d", Score);
TextDrawSetString(Exp1[0], string_Score);}

if(Score >= 100){
format(string_Score, sizeof string_Score, "~w~%d", Score);
TextDrawSetString(Exp2[0], string_Score);}

if(Score >= 1000){
format(string_Score, sizeof string_Score, "~w~%d", Score);
TextDrawSetString(Exp3[0], string_Score);}
}
}
return 1;}


Sam uk?ada?em ten kod kt?ry jak wida? jest w pewnym timerze lecz nie wiem co jest w nim ?le (bo niby sie kompiluje dobrze)... Poradzi? by mi kto? jak go naprawi??

Jestem poczatkujacy wi?c prosze o dosy? zrozumia?e t?umaczenie b?ed?w ?ebym sie czego? nauczy? ;)