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

Assign to a team automatically on joining the server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
as_pingwin
Junior Member
Join Date: Feb 2016
Old 02-07-2016 , 15:06   Assign to a team automatically on joining the server
Reply With Quote #1

Hi,

I'm trying to write a plugin which is intent to place a player to a team based on the player's steamID.
There's a list for the steamIDs.
I was trying with this but no success :/

public OnClientPostAdminCheck(int client) {
ChangeClientTeam(client, 1);
}

Thanks for the help!
Akos
as_pingwin is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-07-2016 , 18:06   Re: Assign to a team automatically on joining the server
Reply With Quote #2

Are you using SourceMod? If yes, you should post in the SourceMod section.
__________________
fysiks is offline
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 08:16.


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