AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Assign to a team automatically on joining the server (https://forums.alliedmods.net/showthread.php?t=278761)

as_pingwin 02-07-2016 15:06

Assign to a team automatically on joining the server
 
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

fysiks 02-07-2016 18:06

Re: Assign to a team automatically on joining the server
 
Are you using SourceMod? If yes, you should post in the SourceMod section.


All times are GMT -4. The time now is 06:49.

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