Sky
ok using engine how can i make it so if im aiming at the sky i cant use the hook?
Code:
if (iContents == CONTENTS_SKY) |
Re: Sky
That looks right. You need to fill in what iContents is first.
PHP Code:
|
Re: Sky
i know what the new hook says but
i want it so that if i aim at the sky and hook it wont connect.... if you know what i mean... Also can some one right me a function that will allow a hook to open a door? |
Re: Sky
PHP Code:
|
Re: Sky
That dosent explain to me how this works it says entorigin dosent exist and engfun is fake meta im not using fakemeta i dont know how....
|
Re: Sky
You asked for the code first, rather than an explanation. Look up what var entOrigin is in the Hook plugin, and you will know.
Quote:
PHP Code:
1) iContents holds the contents of the target 2) if (iContents == CONTENTS_SKY) checks if iContents (your target) is the sky 3) return PLUGIN_HANDLED stops the rest of the code in that procedure from running, so this acts like a "do nothing" |
Re: Sky
..... it still tells me that entorigin dosent exist
and im not that dumb i put fakemeta in using that code but i have no idea wat entorigin is. |
Re: Sky
Like I said earlier, entOrigin is a variable. It is user created. Go look up what entOrigin is inside the new hook plugin, and you will see what it is, and how it's used.
|
Re: Sky
Code:
get_user_origin ( index, origin[3], [ mode = 0 ] )Code:
|
| All times are GMT -4. The time now is 11:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.