Raised This Month: $ Target: $400
 0% 

debuging item


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
StormZone
BANNED
Join Date: Nov 2008
Location: [RO]Hunedoara/Petrosani
Old 10-09-2009 , 12:07   debuging item
Reply With Quote #1

This is an shopmenu item that should make zou invizible for 15 sec but it doesent works.
The soudns play but you remain vizible.
Help please
PHP Code:
    if( playeritem3[id] == INVIS)
    {
        
set_user_renderingid kRenderFxNone kRenderTransTexture 150 );
        
        if( 
Util_Should_Msg_Client(id) )
        {
            
client_print idprint_chat"%L"id"SM3_INVIS"MOD );
            
client_print idprint_center"%L"id"SM3_INVIS2" );
        }

        new 
parm[2];
        
parm[0] = id;
        
parm[1] = INVIS;

        
//Play sound
        
if( Util_Should_Msg_Client(id) )
        {
            if ( 
file_exists"sound/uwc3x/shopmenu/sm3_inv.wav" ) == )
            {
                
emit_soundidCHAN_STATIC"uwc3x/shopmenu/sm3_inv.wav"1.0ATTN_NORM0PITCH_NORM );
            }
        }
        
        
//reset via task in 10 seconds
        
parm2[1] = 3;
        
set_task15.0"Task_Reset_Shopmenu3"SHOPMENU3_RESET idparm22);    
    } 
+ Karma
StormZone is offline
Send a message via Yahoo to StormZone Send a message via Skype™ to StormZone
 



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 22:42.


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