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

basebuilder help please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ace67
Senior Member
Join Date: Sep 2020
Location: France
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
Location: Egypt
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
Senior Member
Join Date: Sep 2020
Location: France
Old 09-18-2020 , 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
Senior Member
Join Date: Sep 2020
Location: France
Old 09-18-2020 , 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
Location: Egypt
Old 09-18-2020 , 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; 09-18-2020 at 17:54.
Supremache is offline
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 09-18-2020 , 23:58   Re: basebuilder help please
Reply With Quote #6

yo, can i know where i add this please
Ace67 is offline
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 09-19-2020 , 12:26   Re: basebuilder help please
Reply With Quote #7

because i don't understand where i add this
Ace67 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-19-2020 , 13:08   Re: basebuilder help please
Reply With Quote #8

Open basebuilder.sma file, Go to "public msgRoundEnd" faction and replace those codes
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 09-19-2020 , 13:40   Re: basebuilder help please
Reply With Quote #9

i have this error
//// basebuilder54.sma
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1060) : error 017: undefined symbol "g_boolRoundEnded"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1060 -- 1061) : warning 215: expression has no effect
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1064) : error 017: undefined symbol "WIN_ZOMBIES"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1064 -- 1066) : error 088: number of arguments does not match definition
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1070) : error 017: undefined symbol "g_boolRoundEnded"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1070 -- 1071) : warning 215: expression has no effect
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1074) : error 017: undefined symbol "WIN_BUILDERS"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1074 -- 1076) : error 088: number of arguments does not match definition
//
// 6 Errors.
// Could not locate output file C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\compile d\basebuilder54.amx (compile failed).
//
// Compilation Time: 0,47 sec
// ----------------------------------------
Ace67 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-19-2020 , 17:13   Re: basebuilder help please
Reply With Quote #10

Quote:
Originally Posted by Ace67 View Post
i have this error
//// basebuilder54.sma
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1060) : error 017: undefined symbol "g_boolRoundEnded"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1060 -- 1061) : warning 215: expression has no effect
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1064) : error 017: undefined symbol "WIN_ZOMBIES"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1064 -- 1066) : error 088: number of arguments does not match definition
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1070) : error 017: undefined symbol "g_boolRoundEnded"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1070 -- 1071) : warning 215: expression has no effect
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1074) : error 017: undefined symbol "WIN_BUILDERS"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\basebui lder54.sma(1074 -- 1076) : error 088: number of arguments does not match definition
//
// 6 Errors.
// Could not locate output file C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\compile d\basebuilder54.amx (compile failed).
//
// Compilation Time: 0,47 sec
// ----------------------------------------
You are using v5.4 old version
If you want get help make request on "suggests / requests" section here you can get just examples.
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache 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 22:53.


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