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!
__________________