Raised This Month: $ Target: $400
 0% 

I can not move the player, why?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CsIosefin
Senior Member
Join Date: Aug 2009
Old 08-13-2012 , 14:47   I can not move the player, why?
Reply With Quote #1

I want to block the team menu after motd and in 10 seconds to move to team ct. After moving, restart and give me the man I can not move, why?
Code:
register_message(get_user_msgid("ShowMenu"), "cmdMENU")
register_message(get_user_msgid("VGUIMenu"), "cmdMENU")

public client_connect(id)
{
	set_task(10.0, "cmdAUTOTEAM", id)
	return PLUGIN_CONTINUE
}

public cmdMENU(id)
{
	return PLUGIN_HANDLED
}

public cmdAUTOTEAM(id)
{
	if(cs_set_user_team(id, CS_TEAM_CT) && cs_set_user_model(id, "gign"))
	{
			client_print(id, print_chat, "YOU WERE MOVED TO COUNTER-STRIKE!")
			return PLUGIN_HANDLED
	}
	return PLUGIN_CONTINUE
}
CsIosefin 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 05:52.


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