hello every one iam facing bindkey problam when i press f12 list show but when i f12 down list not hide why?
this code
this code
Code Select
function onKeyDown( player, bindid )
{
if(bindid==STAFFLIST)
{
LIST <-CreateSprite( "LIST.png", 340, 40, 0, 0, 0, 255 );
LIST.ShowForPlayer(player);
}
}
function onKeyUp( player, bindid )
{
if(bindid==STAFFLIST)
{
LIST.HideFromPlayer(player);
}
}