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

Team Transfer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 08-05-2009 , 03:42   Team Transfer
Reply With Quote #1

.:: Description ::.
  • Simple plugin to team transfer with say commands and hudmessage sample with a team chosen.
.:: Usage ::.
  • say /t = Transfer player to Team Terrorist.
  • say_team /t = Transfer player to Team Terrorist.
  • say /tt = Transfer player to Team Terrorist.
  • say_team /tt = Transfer player to Team Terrorist.
  • say /ct = Transfer player to Team Counter-Terrorist.
  • say_team /ct = Transfer player to Team Counter-Terrorist.
  • say /spec = Transfer player to Team Spectator. (ALIVE ONLY)
  • say_team /spec = Transfer player to Team Spectator. (ALIVE ONLY)
.:: Multilingual ::.

Need Traslation
Code:
[en]
TRANSFERRED_TEAM_T = You have been transferred to^nTerrorist Team
TRANSFERRED_TEAM_CT = You have been transferred to^nCounter-Terrorist Team
TRANSFERRED_TEAM_SPEC = You have been transferred to^nSpectator Team
ONLY_USE_ALIVE = This command can only be used when youre alive
ALREADY_T = You are already on the Terrorist Team
ALREADY_CT = You are already on the Counter-Terrorist Team
Already Have
Code:
[en] --> #8 SickneSS
[es] --> #8 SickneSS
[sv] --> micke1101
[pl] --> Abes_Ziomal_PL(Poland)
[de] --> Mordekay
[ru] --> SHLAKBAUM
[lt] --> DoviuX
[fr] --> Arkshine
[bp] --> vermillioN25
[nl] --> crazyeffect
[sr] --> Jack86
[ro] --> dorin2oo7

.:: Includes ::.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike> 
.:: Files ::.
  • team_transfer.txt --> addons/amxmodx/data/lang
  • team_transfer.sma --> addons/amxmodx/scripting
  • team_transfer.amxx --> addons/amxmodx/plugins
.:: Changelog ::.
  • v1.2 : Added Two More ML : ALREADY_T & ALREADY_CT
  • v1.1 : Fixed Bug /spec , Only Use Alive & new ML added ONLY_USE_ALIVE
.:: Notes ::.
  • This is my first plugin , i hope you serve,and sorry for my bad english.

Last edited by #8 SickneSS; 01-17-2010 at 13:29.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-05-2009 , 04:55   Re: Simple Team Transfer
Reply With Quote #2

"LANG_PLAYER" should be "id" instead.
It seems you add 2 times {} when one time is enough.
__________________

Last edited by Arkshine; 08-05-2009 at 06:14.
Arkshine is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 08-05-2009 , 05:07   Re: Simple Team Transfer
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
"LANG_PLAYER" should be "id" insteand.
It seems you add 2 times {} when one time is enough.
*Fixed
*Removed
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 08-05-2009 , 05:48   Re: Simple Team Transfer
Reply With Quote #4

its supposed to be "have" instead of "has" because its not 3rd person

and

[sv]
TRANSFERRED_TEAM_T = Du har flyttats till^nTerrorist Laget
TRANSFERRED_TEAM_CT = Du har flyttats till^nCounter-Terrorist Laget
TRANSFERRED_TEAM_SPEC = Du har flyttats till^nSpectator Laget

Last edited by micke1101; 08-05-2009 at 05:52.
micke1101 is offline
ALIENMODSX
BANNED
Join Date: Nov 2008
Old 08-05-2009 , 05:54   Re: Simple Team Transfer
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
"LANG_PLAYER" should be "id" insteand.
It seems you add 2 times {} when one time is enough.
insteand
->
instead
ALIENMODSX is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-05-2009 , 06:14   Re: Simple Team Transfer
Reply With Quote #6

I know, just lazy to edit my post.
__________________
Arkshine is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 08-05-2009 , 06:17   Re: Simple Team Transfer
Reply With Quote #7

Quote:
Originally Posted by micke1101 View Post
its supposed to be "have" instead of "has" because its not 3rd person

and

[sv]
TRANSFERRED_TEAM_T = Du har flyttats till^nTerrorist Laget
TRANSFERRED_TEAM_CT = Du har flyttats till^nCounter-Terrorist Laget
TRANSFERRED_TEAM_SPEC = Du har flyttats till^nSpectator Laget
*Added

Tnx

Last edited by #8 SickneSS; 08-05-2009 at 06:53.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Abes_Ziomal_PL(Poland)
Member
Join Date: Feb 2008
Location: Warsaw
Old 08-05-2009 , 06:35   Re: Simple Team Transfer
Reply With Quote #8

[pl]
TRANSFERRED_TEAM_T = Zostales przeniesiony do^nTerrorystow
TRANSFERRED_TEAM_CT = Zostales przeniesiony do^nAnty-Terrorystow
TRANSFERRED_TEAM_SPEC = Zostales przeniesiony do^nObserwatorow
__________________
Sorry for my BAD English
Abes_Ziomal_PL(Poland) is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 08-05-2009 , 06:42   Re: Simple Team Transfer
Reply With Quote #9

Quote:
Originally Posted by Arkshine View Post
"LANG_PLAYER" should be "id" instead.
You mean this?

PHP Code:
show_hudmessage(id,"%L"id,"TRANSFERRED_TEAM_SPEC"
Or i understand wrong... cuz i see for example the sma of galileo and:

PHP Code:
show_hudmessage(0"%L"LANG_PLAYER"GAL_VOTE_COUNTDOWN"countdown); 
I never used Multilingual system so.. dont know about that.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 08-05-2009 , 06:48   Re: Simple Team Transfer
Reply With Quote #10

id => id
0 => LANG_PLAYER
__________________
alan_el_more 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 05:09.


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