AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How I use this function??? (https://forums.alliedmods.net/showthread.php?t=252975)

lovenina12 12-12-2014 18:08

How I use this function???
 
Hi guys,

I need a help with this hamsandwich-RegisterHam command:

PHP Code:

public plugin_init()
{
      
RegisterHam(Ham_Think"player""fw_Think")
}

public 
fw_Think(id)
{
      
// Do Something


I need to every frame/think of a player it do something.

-- SOLVED 3 min after creating this post >:(

Solution:

PHP Code:

RegisterHam(Ham_Player_PreThink"player""fw_Think"



All times are GMT -4. The time now is 15:24.

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