Hey...
I have this in my code:
PHP Code:
public client_PreThink(id)
{
if(get_user_button(id) & IN_ATTACK)
{
throw_kunai(id, 1)
}
}
In game I press attack button and it works perfectly but while I'm pressing mouse1 it repeats the function throw_kunai and throw kunais like a machine gun...
How can I throw ONE kunai for each click?
EDIT: I've noticed now this isn't Scripting help -.- Move this please, and sorry ...
__________________