Raised This Month: $ Target: $400
 0% 

How I use this function???


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lovenina12
Junior Member
Join Date: Jun 2012
Location: Brasil
Old 12-12-2014 , 18:08   How I use this function???
Reply With Quote #1

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"

Last edited by lovenina12; 12-12-2014 at 18:20. Reason: Solved!
lovenina12 is offline
 



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 15:24.


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