Quote:
Originally Posted by toazron1
Code:
public client_prethink(id) {
if (get_user_buttons(id) & IN_ATTACK) {
server_print("ATTACKED")
}
}
|
Thanks, i got it but can u explain two things in your code?
1) What is client prethink? Is it something that is always executing instead of setting task of function? I've found only one explanation that it is "Forward" and nothing else.
2) IN_ATTACK - what is that?
Sorry, if i'm too silly