So i'm using ShadowIdX to remove the shadows of the players using the following code:
PHP Code:
msg_shadow = get_user_msgid ("ShadowIdx")
PHP Code:
message_begin (MSG_ONE_UNRELIABLE, msg_shadow, _, id);
write_long (0);
message_end ();
Now the problem i am facing is that the console starts flooding sprite errors after i enable shadows again through:
PHP Code:
message_begin (MSG_ONE_UNRELIABLE, msg_shadow, _, id);
write_long (1);
message_end ();
The console floods this error:
PHP Code:
Sprite: no pSprite!!!
Sprite: no pSprite!!!
Sprite: no pSprite!!!
Sprite: no pSprite!!!
And the players dont have their shadows restored. What am i doing wrong?