Raised This Month: $ Target: $400
 0% 

NoClip Help, If Stuck In wall After Time You Will Die


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-26-2009 , 08:08   Re: NoClip Help, If Stuck In wall After Time You Will Die
Reply With Quote #8

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:
stock bool:is_user_stuck(index) {
    new 
Float:g_noclip_origin[3];
    
pev(indexpev_origing_noclip_origin);
    if ( 
trace_hull(g_noclip_originHULL_HUMAN,index) != )
    {
        return 
true;
    }
    return 
false;

and then do as Xellath said:
PHP Code:
if (is_user_stuck(id)) {
      
user_kill(id);


Last edited by zacky; 06-26-2009 at 08:13.
zacky is offline
Send a message via Skype™ to zacky
 



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 15:40.


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