Raised This Month: $248 Target: $400
 62% 

basebuilder help please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ace67
New Member
Join Date: Sep 2020
Old 09-15-2020 , 04:23   basebuilder help please
Reply With Quote #1

Good morning all,
I am looking for a Basebuilder plugin which allows the terros that gain the game to be switched to side, and that when the sides win they stay side otherwise they are transferred to terros.

p.s: is it also possible to change the distance for the plates?

Thank you,
Ace67 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Old 09-16-2020 , 13:52   Re: basebuilder help please
Reply With Quote #2

Quote:
Originally Posted by Ace67 View Post
Good morning all,
I am looking for a Basebuilder plugin which allows the terros that gain the game to be switched to side, and that when the sides win they stay side otherwise they are transferred to terros.

p.s: is it also possible to change the distance for the plates?

Thank you,
more exmple
Supremache is offline
Ace67
New Member
Join Date: Sep 2020
Old Yesterday , 16:31   Re: basebuilder help please
Reply With Quote #3

like when ct teamwin he save ct
when ct lose he got tp to t

and like terrorist team
terrorist win tp to ct
terrorist lose save to t

i want know how
Ace67 is offline
Ace67
New Member
Join Date: Sep 2020
Old Yesterday , 16:33   Re: basebuilder help please
Reply With Quote #4

when the ct wins it does not stay ct ! I want people to ct stay there if they win.
if u can help :/
Ace67 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Old Yesterday , 17:33   Re: basebuilder help please
Reply With Quote #5

Quote:
Originally Posted by Ace67 View Post
when the ct wins it does not stay ct ! I want people to ct stay there if they win.
if u can help :/
Try this:

Code:
public msgRoundEnd(const MsgId, const MsgDest, const MsgEntity) {     static Message[192]     get_msg_arg_string(2, Message, 191)     new players[32], num, player     get_players(players, num, "ae", "CT")             if (equal(Message, "#Terrorists_Win"))     {         g_boolRoundEnded = true         set_hudmessage(255, 255, 255, -1.0, 0.40, 0, 6.0, 6.0, 0.1, 0.2, 1)         show_hudmessage(0, "%L", LANG_SERVER, "WIN_ZOMBIE")         set_msg_arg_string(2, "")         client_cmd(0, "spk %s", WIN_ZOMBIES)                 return PLUGIN_HANDLED     }     else if (equal(Message, "#Target_Saved") || equal(Message, "#CTs_Win"))     {         g_boolRoundEnded = true         set_hudmessage(255, 255, 255, -1.0, 0.40, 0, 6.0, 6.0, 0.1, 0.2, 1)         show_hudmessage(0, "%L", LANG_SERVER, "WIN_BUILDER")         set_msg_arg_string(2, "")         client_cmd(0, "spk %s", WIN_BUILDERS)                 for (new i = 0; i < num; i++)         {             player = players[i]             cs_set_user_team(player, CS_TEAM_CT) // If humans won stay as the same team         }                         return PLUGIN_HANDLED     }     return PLUGIN_HANDLED }

Last edited by Supremache; Yesterday at 17:54.
Supremache is offline
Ace67
New Member
Join Date: Sep 2020
Old Yesterday , 23:58   Re: basebuilder help please
Reply With Quote #6

yo, can i know where i add this please
Ace67 is offline
Reply


Thread Tools
Display Modes

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 09:28.


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