The TextDraw .. its not changing >_<
#1

pawn Код:
if(killerid == player1 && playerid == player2)
            {
                new string[256];
                player1score++;
                format(string,256,"%i",player1score);
                TextDrawSetString(Textdraw0,string);
            }
            if(killerid == player2 && playerid == player1)
            {
                new string[256];
                player2score++;
                format(string,256,"%i",player1score);
                TextDrawSetString(Textdraw1,string);   
        }
Tell me if you spot any error
Reply
#2

Well, it shouldn't be:
pawn Код:
if(killerid == player1 && playerid == player2)
            {
                new string[256];
                player1score++;
                format(string,256,"%i",player1score);
                TextDrawSetString(Textdraw0,string);
            }
            if(killerid == player2 && playerid == player1)
            {
                new string[256];
                player2score++;
                format(string,256,"%i",player2score); // Player2score
                TextDrawSetString(Textdraw1,string);  
        }
?
Reply
#3

Oww Damn.. that was so stupid

thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)