Raised This Month: $ Target: $400
 0% 

bool/client_prethink


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SubFive
Senior Member
Join Date: Dec 2005
Location: USA
Old 01-06-2006 , 01:33   bool/client_prethink
Reply With Quote #1

Would someone mind telling me where I went wrong here in this part of the script? I double checked it and don't see the problem.

Code:
new bool:PlayerIsGo plugin client_PreThink(id) {     if(PlayerIsGo == true)     {         // do something     } }
SubFive is offline
Sandurr
Senior Member
Join Date: Aug 2005
Old 01-06-2006 , 11:01  
Reply With Quote #2

plugin client_PreThink?

should be

public client_PreThink
Sandurr is offline
SubFive
Senior Member
Join Date: Dec 2005
Location: USA
Old 01-06-2006 , 18:01  
Reply With Quote #3

Quote:
Originally Posted by Sandurr
plugin client_PreThink?

should be

public client_PreThink
Whoops, that was a typo in my post, but in my script its public.

Edit: Wow, that was definatly too late to be scripting. Turns out it was plugin.
SubFive 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 16:06.


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