Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Switch Players


Post New Thread Reply   
 
Thread Tools Display Modes
djromero
Senior Member
Join Date: Dec 2008
Location: Maracaibo, Venezuela
Old 01-24-2009 , 16:54   Re: [L4D] Switch Players
Reply With Quote #31

Quote:
Originally Posted by santaclaus View Post
Your binds ...

bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
...

etc
lol .... good catch there ... the same happened to a friend of mine.
__________________
David Romero


djromero is offline
Velak
Junior Member
Join Date: Jan 2009
Old 01-25-2009 , 03:24   Re: [L4D] Switch Players
Reply With Quote #32

I wanted to learn to write my own admin menus, and in the process created my own menu which is essentially the same as:

[L4D] Infected Spawner by Fexxi
http://forums.alliedmods.net/showthread.php?p=726634

Although mine has more options, and is tailored to suit myself, it uses the same category structure suggested by Fexxi, so that Left 4 Dead commands are in their own menu.

In any event, I wanted to have your plugin show up in my "Left 4 Dead" Category, rather than the "player commands" category, so it would fit in well with all my other "Left 4 Dead" options, and I can have everything in one nice, neat place.

So I made the appropriate minor changes to your code to allow that. I thought I'd share it here, in case anyone who uses Fexxi's menu also would like your options to show up in the "Left 4 Dead" category, instead.

No other changes to your code were made, other than to change the category it resides in.

Thank you for this plugin! (I learned a lot while studying it, when I was working on making my own menus)
Attached Files
File Type: sp Get Plugin or Get Source (L4DSwitchPlayers.sp - 707 views - 11.5 KB)
Velak is offline
Dionys
Senior Member
Join Date: Sep 2008
Location: Terra, Russia
Old 01-26-2009 , 00:49   Re: [L4D] Switch Players
Reply With Quote #33

2djromero
thx


Velak's idea is good
I creat Switch Player category in adminmenu too
Dionys is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 01-26-2009 , 09:47   Re: [L4D] Switch Players
Reply With Quote #34

Issue report :

I've got a strange issue last night.
For some reason, one guy on the server wasn't listed in the player list (swap / or move ).

That happened on 2 differents map but with the same guy.

Any ideas ?
__________________

santaclaus is offline
djromero
Senior Member
Join Date: Dec 2008
Location: Maracaibo, Venezuela
Old 01-30-2009 , 00:59   Re: [L4D] Switch Players
Reply With Quote #35

Quote:
Originally Posted by santaclaus View Post
Issue report :

I've got a strange issue last night.
For some reason, one guy on the server wasn't listed in the player list (swap / or move ).

That happened on 2 differents map but with the same guy.

Any ideas ?
The player's list can hold up to 7 players per page .... are you sure he wasn't on the 2nd page???

If he wasn't .... did he have a strange name??? Was he using any kind of special chars???
__________________
David Romero


djromero is offline
Dionys
Senior Member
Join Date: Sep 2008
Location: Terra, Russia
Old 01-30-2009 , 03:11   Re: [L4D] Switch Players
Reply With Quote #36

Quote:
Originally Posted by santaclaus View Post
For some reason, one guy on the server wasn't listed in the player list (swap / or move ).
Probably it was player-infected in a revival mode - the plug-in of such players does not see (imho).
Wait introductions into game of this player.
Dionys is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 01-30-2009 , 08:00   Re: [L4D] Switch Players
Reply With Quote #37

Please do not report this thread for approval requests, generally speaking the people who get reports are not the ones who approve plugins.
__________________
fyren sucks
sawce is offline
djromero
Senior Member
Join Date: Dec 2008
Location: Maracaibo, Venezuela
Old 01-30-2009 , 10:56   Re: [L4D] Switch Players
Reply With Quote #38

Quote:
Originally Posted by sawce View Post
Please do not report this thread for approval requests, generally speaking the people who get reports are not the ones who approve plugins.
I'm really confused then. All approvers say on their signature "please don't PM me to get an approval".... and also i have read on another post: "use the report post button to get your plugin re-approved".
__________________
David Romero


djromero is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 01-30-2009 , 12:22   Re: [L4D] Switch Players
Reply With Quote #39

Quote:
Originally Posted by djromero View Post
The player's list can hold up to 7 players per page .... are you sure he wasn't on the 2nd page???

If he wasn't .... did he have a strange name??? Was he using any kind of special chars???
Nope he has the same tags as mine.
He wasn't on the next page either (there wasn't one).

I will try to check again.

Quote:
Probably it was player-infected in a revival mode - the plug-in of such players does not see (imho).
Wait introductions into game of this player.
Hum, maybe i will check it and report it again.
__________________

santaclaus is offline
AcidTester
Senior Member
Join Date: Jan 2009
Old 01-31-2009 , 09:30   Re: [L4D] Switch Players
Reply With Quote #40

Hi djromero.
Have a problem with plugin. When i start war mode , then back, plugin not loaded ((
In other words using sm plugins unload_all and sm plugins refresh doesnt seem to refresh L4DSwitchPlayers.smx and it dissappears from sm_admin menu.
Thanks.
AcidTester is offline
Send a message via ICQ to AcidTester
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 13:21.


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