Hello! I have a problem with Sprite. Work, but when I choose the character it does not erase from the eran and stays on the screen. Can you help me solve when I choose the character to disappear?
The script that I use:
Logo <- null;
sX <- GUI.GetScreenSize().X;
sY <- GUI.GetScreenSize().Y;
Logo <- GUISprite( "icon.png", VectorScreen( 809, 103) );
Logo.Size = VectorScreen( sX, sY );
SetMouseEnable( false )
Picture:
http://imgur.com/a/ihcbx
You can just do Logo = null; whenever you want to delete the sprite.
But how can I do it to delete, after I choose my caracter? Tell me, please!
.
Read this : http://forum.vc-mp.org/?topic=2719.0 .
@PunkNoodle He should use streams.
not working
Nevermind I forgot GUI are client scripts, in my suggestion I used server scripts, thus I edited it out to avoid misleading.