26.02.2013, 17:42
I have problem in code unexpected text draw called:
Exemple:
new Text:TD_1[MAX_PLAYERS];
new PlayerText:PTD_1[MAX_PLAYERS];
new Text:TD_2[MAX_PLAYERS];
new Text:TD_3[MAX_PLAYERS];
new PlayerText:PTD_3[MAX_PLAYERS];
new PlayerText:PTD_2[MAX_PLAYERS];
//before use create TD_1
//show player TD_1
//destroy TD_1
And then without any obvious reason in time when need to be show to other player be also shown to
some random player without call?
//call TD_1 for playerid = 1
//show TD_1 for playerid = 1 (color box with text)
//and in same time show for random id whiteout call (black box without text) <= bug
After printf TD_1 for all players random player have invalid id but still shown to random player?
All TD show using playerid from callbacks not in loop timer or something?
Ghost in shell or Common bug ?
Thank you in advance.
Exemple:
new Text:TD_1[MAX_PLAYERS];
new PlayerText:PTD_1[MAX_PLAYERS];
new Text:TD_2[MAX_PLAYERS];
new Text:TD_3[MAX_PLAYERS];
new PlayerText:PTD_3[MAX_PLAYERS];
new PlayerText:PTD_2[MAX_PLAYERS];
//before use create TD_1
//show player TD_1
//destroy TD_1
And then without any obvious reason in time when need to be show to other player be also shown to
some random player without call?
//call TD_1 for playerid = 1
//show TD_1 for playerid = 1 (color box with text)
//and in same time show for random id whiteout call (black box without text) <= bug
After printf TD_1 for all players random player have invalid id but still shown to random player?
All TD show using playerid from callbacks not in loop timer or something?
Ghost in shell or Common bug ?
Thank you in advance.