AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   touch forwards called in the engine like think forwards? (https://forums.alliedmods.net/showthread.php?t=20271)

KCE 11-05-2005 02:21

touch forwards called in the engine like think forwards?
 
Are the touch forwards/functions called in the engine like the think forwards/functions?

Hawk552 11-05-2005 10:36

If you mean register_think and register_touch, yes, I'm pretty sure they are, with the exception of the stuff they give in a func.

Code:
//... register_touch("player","player","touch_func"); //... //... public touch_func(ptr,ptd) {       user_kill(BAILOPAN); } //...

Code:
//... register_think("player","think_func"); //... public think_func(id) {       server_cmd("banid STEAM_0:0:gaben kick"); }


All times are GMT -4. The time now is 00:02.

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