Raised This Month: $ Target: $400
 0% 

clcmd, and keypress.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 07-13-2007 , 13:25   Re: clcmd, and keypress.
Reply With Quote #1

Quote:
Originally Posted by toazron1 View Post
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
draft is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode