AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Block Teams (https://forums.alliedmods.net/showthread.php?t=84829)

Enipy 02-01-2009 14:10

Block Teams
 
I looking a public for they cannot change a team and put the public on my plugin



SnoW 02-01-2009 14:36

Re: Block Teams
 
Quote:

Originally Posted by Enipy (Post 753901)
I looking a public for they cannot change a team and put the public on my plugin

You are probably talking about function like:
Code:

public function() { }
So, then -> there isn't that kind of function(what could do it alone). If you want that players can't change teams, you would need there some events too. Anyway there is already some plugins that block players changing teams, so just searching would be the thing.

Enipy 02-01-2009 14:52

Re: Block Teams
 
I put a code for de plugin with cannot change teams.

I put a comand for amx_spec with all peopla go to spec but can people change to the team, I block change.


My inglish is bad, sorry

Dores 02-01-2009 21:15

Re: Block Teams
 
Quote:

Originally Posted by SnoW (Post 753917)
You are probably talking about function like:
Code:

public function() { }
So, then -> there isn't that kind of function(what could do it alone). If you want that players can't change teams, you would need there some events too. Anyway there is already some plugins that block players changing teams, so just searching would be the thing.

LoL, he didn't ask for a public function, he wants a public code, like for all players or public for the forums or something that prevents players from switching teams. :mrgreen:

SnoW 02-02-2009 11:57

Re: Block Teams
 
Aha, lol. But I think my idea for the "public function" was pretty good, wasn't it? It was pretty hard to guess with his english... :grrr:
Btw Dores, I think u know that I can't give u karma yet, but in future right when I can I'll give it for all your nice thingys :wink:

Dores 02-02-2009 14:57

Re: Block Teams
 
Quote:

Originally Posted by SnoW (Post 754377)
Aha, lol. But I think my idea for the "public function" was pretty good, wasn't it? It was pretty hard to guess with his english... :grrr:
Btw Dores, I think u know that I can't give u karma yet, but in future right when I can I'll give it for all your nice thingys :wink:

Yeah, I would never think of a public function, but it was pretty smart - "and put the public on my plugin" pretty much shows why you thought he meant a function.


All times are GMT -4. The time now is 01:40.

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