Raised This Month: $51 Target: $400
 12% 

Client_PreThink


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 07-29-2011 , 07:44   Client_PreThink
Reply With Quote #1

I dont if its suppose to be in this section..
can somone explain what is client_prethink ?
Dr7sTyLe is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 07-29-2011 , 07:48   Re: Client_PreThink
Reply With Quote #2

it is like a botton prethink

i mean, see this code then you realize

PHP Code:
 
public client_PreThink(id)
{
 if(!
is_user_alive(id) || !zp_get_user_zombie(id) || zp_get_user_nemesis(id)) 
  return 
PLUGIN_CONTINUE
 
if(zp_get_user_zombie_class(id) != g_zclass_ghost)
  return 
PLUGIN_CONTINUE
 
 
new nzbut get_user_button(id)
 new 
ozbut get_user_oldbutton(id)
 if((
nzbut IN_JUMP) && !(get_entity_flags(id) & FL_ONGROUND) && !(ozbut IN_JUMP))
 {
  if (
jumpznum[id] < get_pcvar_num(cvar_jumps))
  {
   
dozjump[id] = true
   jumpznum
[id]++
   return 
PLUGIN_CONTINUE
  
}
 }
 if((
nzbut IN_JUMP) && (get_entity_flags(id) & FL_ONGROUND))
 {
  
jumpznum[id] = 0
  
return PLUGIN_CONTINUE
 

 return 
PLUGIN_CONTINUE

.Dare Devil. is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 07-29-2011 , 08:15   Re: Client_PreThink
Reply With Quote #3

Ignore the post above, it is nonsense.
SnoW is offline
Send a message via MSN to SnoW
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 07-29-2011 , 08:40   Re: Client_PreThink
Reply With Quote #4

Quote:
Originally Posted by SnoW View Post
Ignore the post above, it is nonsense.
Why ?
Dr7sTyLe is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 07-29-2011 , 08:48   Re: Client_PreThink
Reply With Quote #5

Quote:
Originally Posted by Dr7sTyLe View Post
Why ?
Because I already gave a reason to why you should ignore the post I believe your question is about why the post is nonsense. It is nonsense because it does not refer to a single thing what prethink might be ( The post has no information value regarding what prethink is ).
SnoW is offline
Send a message via MSN to SnoW
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 07-29-2011 , 08:51   Re: Client_PreThink
Reply With Quote #6

Quote:
Originally Posted by SnoW View Post
Because I already gave a reason to why you should ignore the post I believe your question is about why the post is nonsense. It is nonsense because it does not refer to a single thing what prethink might be ( The post has no information value regarding what prethink is ).
So what is a client_prethink exactly
.Dare Devil. is offline
fireattack
Senior Member
Join Date: Jul 2008
Old 07-29-2011 , 08:58   Re: Client_PreThink
Reply With Quote #7

https://forums.alliedmods.net/showpo...65&postcount=2

Another good link:

https://forums.alliedmods.net/search.php
fireattack 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 11:13.


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