Raised This Month: $32 Target: $400
 8% 

[REQ-CSGO] Plugin that save previous TEAM when SPEC


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
3Dyy
Member
Join Date: Jun 2017
Location: Germany
Old 02-06-2021 , 23:52   [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #1

I want a plugin when the players go to spec with "!afk" The team they was previous to be stored/save in mysql or sql or save on map whatever. Ex: When the player was CT and now go to spec to not be allowed to change the team like to go to T .To force them to go back to the
previous TEAM ,in our example to go back to CT. (Sorry for my english) . Any ideas?
3Dyy is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 02-08-2021 , 08:47   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #2

hmm
__________________
Teamkiller324 is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 02-10-2021 , 10:58   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #3

Hi, Teamkiller324 your hmm.. much shorter than my hmmmm..

i lost my manner there, apologize. This plugin is not that hard. you just add command listener when player switching team from *Spec and set they team manually. Cookies aka ClientPrefs much easer.

Check this out
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 02-10-2021 , 17:55   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #4

shouldn't be that hard to make.
__________________
Teamkiller324 is offline
3Dyy
Member
Join Date: Jun 2017
Location: Germany
Old 02-15-2021 , 20:06   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #5

Quote:
Originally Posted by Teamkiller324 View Post
shouldn't be that hard to make.
Yes I know but my my knowledge of sourcepawn is not that advanced
3Dyy is offline
3Dyy
Member
Join Date: Jun 2017
Location: Germany
Old 02-15-2021 , 20:07   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #6

Quote:
Originally Posted by GsiX View Post
Hi, Teamkiller324 your hmm.. much shorter than my hmmmm..

i lost my manner there, apologize. This plugin is not that hard. you just add command listener when player switching team from *Spec and set they team manually. Cookies aka ClientPrefs much easer.

Check this out
I will try
3Dyy is offline
3Dyy
Member
Join Date: Jun 2017
Location: Germany
Old 02-19-2021 , 21:51   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #7

Quote:
Originally Posted by GsiX View Post
Hi, Teamkiller324 your hmm.. much shorter than my hmmmm..

i lost my manner there, apologize. This plugin is not that hard. you just add command listener when player switching team from *Spec and set they team manually. Cookies aka ClientPrefs much easer.

Check this out
Don't working. I have a /afk plugin and the player type /afk and change the team. And I want a plugin that save the previous team. My knowledge of scripting are really bad.
3Dyy is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 02-20-2021 , 08:03   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #8

i think a mysql database plugin would be better off than a clientprefs cookie one.
__________________
Teamkiller324 is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 02-20-2021 , 18:42   Re: [REQ-CSGO] Plugin that save previous TEAM when SPEC
Reply With Quote #9

Teamswitch Manager

Description
Prevents player from joining a team. Example: you spawned as ct and you cannot change to another team. Similiar idea to what the op wanted. Made from scratch.

MySQL Setup Example:
Code:
"teamswitch_manager"
{
	"driver"			"mysql"
	"host"				"localhost"
	"database"			"tk_teamswitch"
	"user"				"root"
	"pass"				""
	"port"				"3306"
}

You may import the file to the new database name you've created.
Attached Files
File Type: zip TeamSwitch Manager 1.0.0.zip (10.6 KB, 38 views)
__________________

Last edited by Teamkiller324; 02-20-2021 at 18:43.
Teamkiller324 is offline
Reply



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:53.


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