Raised This Month: $ Target: $400
 0% 

set_user_rendering [SOLVED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Def
Junior Member
Join Date: Oct 2006
Old 06-08-2007 , 16:12   set_user_rendering [SOLVED]
Reply With Quote #1

Hello everyone.

I have a problem with setting player invisible, here is the code:

Code:
public eventPlayerSpawn(id) {
    if(is_user_connected(id)) {   
        if(INVLVL > 0) {
            set_user_rendering(id,kRenderFxNone,0,0,0,kRenderTransTexture,255 - INVLVL * 40);
            client_print(id,print_chat,"TEST WORKING %i",INVLVL);
        }
    }
}
This is just a part of a code. Then i spawn i get the message "TEST WORKING 5" but I'm still totaly visible. Where can be a problem ?

Thanks in advice!
__________________
Sorry for my bad english

Last edited by Def; 06-09-2007 at 11:46.
Def is offline
 


Thread Tools
Display Modes

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 10:35.


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