Raised This Month: $ Target: $400
 0% 

RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle" );


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-10-2009 , 14:12   RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle" );
Reply With Quote #1

hi i have this

PHP Code:
RegisterHamHam_OnControls"func_vehicle""FuncButtonVehicle" ); 
and i need this

PHP Code:
public FuncButtonVehicle( ...// what is here ///... )
{
 
// code 

__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-10-2009 , 14:18   Re: RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle" );
Reply With Quote #2

( this, idOn ) As Ham says.
Arkshine is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-10-2009 , 14:23   Re: RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle" );
Reply With Quote #3

Quote:
Originally Posted by tuty View Post
hi i have this

PHP Code:
RegisterHamHam_OnControls"func_vehicle""FuncButtonVehicle"); 
and i need this

PHP Code:
public FuncButtonVehicleiVehicleiPlayerId )
{
 
// code 

Would be better to post register the forward (see the 1 at the end of the registering line) unless you want to prevent a player from using a vehicle.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-10-2009 , 14:23   Re: RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle" );
Reply With Quote #4

thanks
__________________

Last edited by tuty; 03-10-2009 at 14:27.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-10-2009 , 15:07   Re: RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle" );
Reply With Quote #5

Hei, i don't want to start a new topic, so i post here.
If i want to block a damage ( ham_takedamage) i have to make it pre, not post. But i need to know the real damage, "damage" parameter is not the actuall damage that the player's takes...so i have to use pev_dmg_take, but is working in pre not post forward?
__________________

anakin_cstrike is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-11-2009 , 01:54   Re: RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle" );
Reply With Quote #6

Quote:
Originally Posted by anakin_cstrike View Post
start a new topic
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
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 08:58.


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