Raised This Month: $ Target: $400
 0% 

RegisterHam Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 06-05-2010 , 10:35   RegisterHam Problem
Reply With Quote #1

Alright, I've been using:

PHP Code:
RegisterHam(Ham_Spawn"player""player_spawned"1
To execute commands when a player is spawned.

Then I use:

PHP Code:
public player_spawned(id)
{
    if(
cs_get_user_team(id) == CS_TEAM_T)
    { 
To execute the command depending on what team. But it will only set the rendering on the player within 3 seconds of being spawned, then they go completely visible. So its like this:

PHP Code:
public player_spawned(id)
{
    if(
cs_get_user_team(id) == CS_TEAM_T)
    {
        
fm_set_user_rendering(idkRenderFxNone255255255kRenderTransAlpha0); 
Why is it doing this? I want the invisibility to last the whole round.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
 



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


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