Raised This Month: $12 Target: $400
 3% 

User_silentkill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 08-08-2019 , 15:17   User_silentkill
Reply With Quote #1

I am preparing for Admin CMD myself and there is a problem with my code the user_silentkill doesnt work

Message stocks INC:
Code:
stock user_silentkill(index, flag = 1)
{
	static msgid = 0;
	new msgblock;
	if (!msgid)
	{
		msgid = get_user_msgid("DeathMsg");
	}
	msgblock = get_msg_block(msgid);
	set_msg_block(msgid, BLOCK_ONCE);
	user_kill(index, flag);
	set_msg_block(msgid, msgblock);

	return 1;
}
PHP Code:
                if (is_user_alive(player))
                    
user_silentkill(player)

                
cs_set_user_teamplayerCS_TEAM_SPECTATOR );
            } 
How can i use that stock work in code prop, i need set that inc name on code?

Last edited by Fuck For Fun; 08-08-2019 at 15:22.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 08-10-2019 , 05:03   Re: User_silentkill
Reply With Quote #2

Any know?
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply


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


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