AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   bool/client_prethink (https://forums.alliedmods.net/showthread.php?t=22885)

SubFive 01-06-2006 01:33

bool/client_prethink
 
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     } }

Sandurr 01-06-2006 11:01

plugin client_PreThink?

should be

public client_PreThink

SubFive 01-06-2006 18:01

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. :D

Edit: Wow, that was definatly too late to be scripting. Turns out it was plugin. :roll:


All times are GMT -4. The time now is 16:06.

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