Raised This Month: $170 Target: $400
 42% 

[HL]Player models are not loaded by players.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
smurfavr
Member
Join Date: Jan 2011
Location: Bulgaria
Old 06-22-2018 , 07:13   [HL]Player models are not loaded by players.
Reply With Quote #1

I put this mp_teamlist "smurf1; smurf2" in server.cfg. How do I download the models from the players that are logged on to the server?

They made such a plug-in, but there is a problem. When a player is killed, the plugin moves it to another command. If there are 10 players in the red team, and they kill players from the blue team, the plug-in passes them on to the red team. What is the problem with the code and how can I fix it?
Attached Files
File Type: sma Get Plugin or Get Source (OnPlayerSpawn.sma - 64 views - 827 Bytes)
__________________





Last edited by smurfavr; 06-22-2018 at 07:13.
smurfavr is offline
Send a message via Skype™ to smurfavr
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Location: ISR
Old 06-23-2018 , 10:46   Re: [HL]Player models are not loaded by players.
Reply With Quote #2

What have you tried to do here exactly O_O?

Code:
public OnPlayerSpawn(id)
{
	if(is_user_alive(id))
	{
		static const szModel[] = "model"
		set_user_info(id, szModel, g_szModels[random(sizeof(g_szModels))])
	}
}
Code:
set_user_info
->
Code:
cs_set_player_model
__________________

Last edited by Fuck For Fun; 06-23-2018 at 10:49.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-23-2018 , 12:44   Re: [HL]Player models are not loaded by players.
Reply With Quote #3

Quote:
Originally Posted by Fuck For Fun View Post
What have you tried to do here exactly O_O?

Code:
public OnPlayerSpawn(id)
{
	if(is_user_alive(id))
	{
		static const szModel[] = "model"
		set_user_info(id, szModel, g_szModels[random(sizeof(g_szModels))])
	}
}
Code:
set_user_info
->
Code:
cs_set_player_model
Look carefully at the thread's title. Especially at the first two letters in [ brackets ].
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Location: ISR
Old 06-23-2018 , 18:10   Re: [HL]Player models are not loaded by players.
Reply With Quote #4

@OciXCrom
Ahh sorry, so wait for more comments.
__________________
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 10:46.


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