register touch
Hello i can switch one code and i
ENGINE Code:
register_touch("player", "land_mine", "mine_touched")Code:
register_forward(FM_Touch,"hook_touch") |
Re: register touch
I'm not good in FM, but i see and can't understand this:
Quote:
|
Re: register touch
my code have got 4000 lines :(
|
Re: register touch
Ok, post "ent("land_mine", 0)" function and tell, what your part of this script must do.
|
Re: register touch
sorry it must be explode("land_mine", 0)
|
Re: register touch
PHP Code:
PHP Code:
|
Re: register touch
Quote:
Replace with Code:
is_user_alive(id) |
Re: register touch
I do this
Code:
public hook_touch(ptr,id)and there is messange Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler. |
Re: register touch
p_enabled was i pointer i used, and yours is not p_enabled if i look in your first post thats mines_enabled, and YOUR_CLASSNAME is the class name of your mine. Not YOUR_CLASSNAME unless you used YOUR_CLASSNAME as classname for your mines or what it is...
Quote:
Cheers! |
Re: register touch
yea im 13 y o people and i starting learn pawn and im beginer and i dont understand syntaxs. and I fix it any method and THANX A LOT
|
| All times are GMT -4. The time now is 01:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.