Hello,
I would like that when you double-press in_use executes function.
I try
PHP Code:
new button = get_uc(uc_handle, UC_Buttons);
new oldbutton = get_user_oldbutton(id);
if((button & IN_USE) && (oldbutton & IN_USE)){
/**** CODE ****/
}
but it does not work.
------------------------------------------------------------------
PHP Code:
public EmitSound(id, iChannel, szSound[], Float:fVol, Float:fAttn, iFlags, iPitch )
{
if(equal(szSound, "common/wpn_denyselect.wav"))
{
/*** CODE ***/
}
return FMRES_IGNORED;
}
What sound is emitted when:
disarms a bomb
planting a bomb
rescue a hostage