Raised This Month: $51 Target: $400
 12% 

[Help] How to register any forward?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
larito
Veteran Member
Join Date: Nov 2008
Location: Argentina- Mendoza
Old 10-27-2009 , 18:35   [Help] How to register any forward?
Reply With Quote #1

Hello, I´m new in this and I´m search any example of how to register any forward, for example the event "CurWeapon" or "HLTV" or forward "PlayerPrethink" and make a fuction of this forward how on pawn.


Example in pawn:
PHP Code:
public plugin_init() 
{
    
register_plugin("Test""1.0""Darckbaston");
    
register_event("CurWeapon""event_curweapon""1=1")
}


public 
event_curweapon(id)
{
    
// How to make a any forward like this but in some module.


Last edited by larito; 10-28-2009 at 12:19.
larito is offline
Send a message via MSN to larito
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 10-27-2009 , 19:54   Re: [Help] How to register any forward
Reply With Quote #2

PHP Code:
int FN_RegUserMsg_Post(const char *pszNameint iSize); 
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
larito
Veteran Member
Join Date: Nov 2008
Location: Argentina- Mendoza
Old 10-28-2009 , 06:48   Re: [Help] How to register any forward
Reply With Quote #3

Can you give me a example?

Last edited by larito; 10-28-2009 at 12:27.
larito is offline
Send a message via MSN to larito
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-04-2009 , 09:11   Re: [Help] How to register any forward?
Reply With Quote #4

Wrong forum but take a look at these links

http://forums.alliedmods.net/showthread.php?t=45697

http://wiki.tcwonline.org/Half-Life_1_Game_Events
__________________
Bugsy is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 11-04-2009 , 09:30   Re: [Help] How to register any forward?
Reply With Quote #5

Quote:
Originally Posted by Bugsy View Post
... he wants it in module form.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-12-2009 , 06:18   Re: [Help] How to register any forward?
Reply With Quote #6

module form is in amx mod x source isn't it?
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Old 12-06-2009, 01:59
jordans2292
This message has been deleted by YamiKaitou. Reason: spam
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 05:15.


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