NoClip Help, If Stuck In wall After Time You Will Die
I need help with My noclip block for blockmaker, everything works but I want to make it so if you are stuck in a wall when the noclip time runs out you die.
Code:
actionNoclip(id, bool:OverrideTimer) |
Re: NoClip Help, If Stuck In wall After Time You Will Die
Show us the taskNoclipRemove.
|
Re: NoClip Help, If Stuck In wall After Time You Will Die
Code:
public taskNoclipRemove(id) |
Re: NoClip Help, If Stuck In wall After Time You Will Die
PHP Code:
PHP Code:
|
Re: NoClip Help, If Stuck In wall After Time You Will Die
So where would i put them?
Also , Will this work once the time runs out? I dont want it to kill them when they still got time. |
Re: NoClip Help, If Stuck In wall After Time You Will Die
Put it in taskNoclipRemove inside the if (is_user_alive(id)) {
|
Re: NoClip Help, If Stuck In wall After Time You Will Die
I got it to work.
I put the Stock Stuff In front of ActionNoclip and i added the use_kill thing to tasknoclipremove. I dont think thats the right place where i put the Stock stuff. Where should i put it. |
Re: NoClip Help, If Stuck In wall After Time You Will Die
i just said where to put it. In taskNoclipRemove inside the if(is_user_alive(id)) {
EDIT: I have noclip block in my bm too and it works fine when i put it there. EDIT2: I dont have that stock, but try this stock instead: PHP Code:
PHP Code:
|
Re: NoClip Help, If Stuck In wall After Time You Will Die
If that doesn't work you can try using EngFunc_PointContents
|
Re: NoClip Help, If Stuck In wall After Time You Will Die
I just found 1 problem, When the noclip runs out and im inside a Blockmaker Block, it doesnt kill me, i just stay stuck.
Code:
stock bool:is_user_stuck(id)Zacky does your one get slayed when in block? EDIT: Tested Zacky's, Its working, So far so good. |
| All times are GMT -4. The time now is 15:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.