lol, simple mistake:
Code:
set_user_noclip (id, 0)
You never set it in the first place.
Also, this is a better way to do the whole "time between uses" thing:
Code:
new g_iTime[33];
public my_func(id)
{
new iTime = floatround(get_gametime());
if(iTime - g_iTime[id] < 30)
{
client_print(id , print_chat , "[AMXX] You can only do that command every 30 seconds!");
return PLUGIN_HANDLED;
}
g_iTime[id] = floatround(get_gametime());
return PLUGIN_HANDLED;
}
I think that's how it's done ;)
__________________