Omg this is going crazy -.-
#10

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Edit: I make like you guys said,same error at same line.Full function:

pawn Код:
public InfoUpdate()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
    new cashstring[128];
    format(cashstring,sizeof(cashstring),"%i",GetPlayerMoney(i));
    TextDrawSetString(Hp[i], cashstring);
    }
    return 1;
}
I dont need to do a "new:Text" because i've it already:


pawn Код:
new Text:Hp[MAX_PLAYERS];
pawn Код:
public InfoUpdate( )
{
    new
        cashStr [ 128 ];
       
    for( new u; u < MAX_PLAYERS; u ++ )
    {
        format( cashStr, sizeof( cashStr ), "%i", GetPlayerMoney( i ) );
        TextDrawSetString( Hp [ u ], cashStr );
    }
    return true;
}
Try that.
Reply


Messages In This Thread
Omg this is going crazy -.- - by Face9000 - 03.05.2012, 20:51
Re: Omg this is going crazy -.- - by ViniBorn - 03.05.2012, 20:54
Re: Omg this is going crazy -.- - by 2KY - 03.05.2012, 20:54
Re: Omg this is going crazy -.- - by FalconX - 03.05.2012, 20:54
Re: Omg this is going crazy -.- - by Face9000 - 03.05.2012, 20:55
Re: Omg this is going crazy -.- - by Revo - 03.05.2012, 20:56
Re: Omg this is going crazy -.- - by 2KY - 03.05.2012, 20:56
Re: Omg this is going crazy -.- - by FalconX - 03.05.2012, 20:56
Re: Omg this is going crazy -.- - by Face9000 - 03.05.2012, 21:05
Re: Omg this is going crazy -.- - by 2KY - 03.05.2012, 21:11

Forum Jump:


Users browsing this thread: 1 Guest(s)