18.01.2012, 18:58
Set the textdraw per player rather than leaving it global.
pawn Код:
stock UpdateIRS()
{
new string[256];
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IRSupdate[i] == 1)
{
format(string,sizeof(string),"%d IRS",IRS[i]);
TextDrawSetString(IRStextdraw[i],string);
TextDrawShowForPlayer(i,IRStextdraw[i]);
IRSupdate[i]=0;
}
}
}