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

Solved Admin War Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-19-2020 , 08:19   Admin War Plugin
Reply With Quote #1

DIRECTLY JUMP TO LAST POST
IF YOU WANT TO SAVE YOUR TIME AND GET THE PLUGIN.


Hi All!
I will try my best to describe what I want. Well, I have already posted this topic in the scripting area, but they told me to post here. https://forums.alliedmods.net/showth...58#post2700958
Also, I have seen this but of no use of what I am looking for: https://forums.alliedmods.net/showthread.php?t=303504

BACK TO THE TOPIC.
So basically I need a Admin War plugin, where admin has the privilege to start a war by typing something in the chat like /startwar. Or a console command.

War doesn't need to check the minimum player count. It must start when an admin executes this command. Now what happens when admin executes this command, all players go to spec, and Admin (Who started the war) has the right to choose two players. He must be shown a menu with a list of all players. Now he will select two players and they both will become captain.
Both players get assigned to either team (CT and T) and all others remain in spec.
Then the first round goes up with a knife. KNIFE IS COMPULSORY.
The captain who wins gets the chance to select a team. After that, he gets a menu of list of players.
They choose a player and then the menu goes to another captain. Likewise, every player gets divided into different teams. Also, there must be a timeout if the winning captain doesn't choose a player within x seconds.

Now teams get created. War must start like Auto-Mix. 15 rounds in both teams. The team who wins 16 rounds win the game, the other team will lose.
Please take note that this is not Auto-Mix. This plugin is Admin-orientated. Admin must have full control to start and stop a war. Also, Admins have the right to change maps for war, not a vote map for all players.
Controls can either be given using console command or a menu like "Amxmodmenu".

I think I have explained my objective well. Well, thanks for reading and I hope I get a plugin for it. I request you!

Regards,

Last edited by allroundernaman; 06-01-2020 at 13:29. Reason: FINALLY SOLVED
allroundernaman is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-20-2020 , 10:55   Re: Admin War Plugin
Reply With Quote #2

Is there someone who can help me out here? I will be glad to know.

Regards,
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life
allroundernaman is offline
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 05-21-2020 , 13:03   Re: Admin War Plugin
Reply With Quote #3

You are just talking about PUB_WAR from CS Indian gaming communities
But i still didnt understand, if u know about plugin, why are u asking here

Anyways here is the last source i saw on internet from original author, let me know wht u want, if not this !
Attached Files
File Type: sma Get Plugin or Get Source (pub_war_nothing.sma - 151 views - 71.3 KB)
instinctpt1 is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-22-2020 , 00:40   Re: Admin War Plugin
Reply With Quote #4

I have also tried many same plugins like this, but none of them worked. Can I have a short description of this plug-in?
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life
allroundernaman is offline
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 05-22-2020 , 02:14   Re: Admin War Plugin
Reply With Quote #5

Quote:
Originally Posted by allroundernaman View Post
I have also tried many same plugins like this, but none of them worked. Can I have a short description of this plug-in?
Its exactly same what you asked for, infact it is ..what you asked for

3 commands for admins
amx_startmatch
amx_stopmatch
amx_restartmatch
And !score to check score for everyone
-- You know about these

You just need REAPI to compile this plugin locally
And i dont remember much but i guess it requires REHLDS setup too

Last edited by instinctpt1; 05-22-2020 at 02:18.
instinctpt1 is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-22-2020 , 04:05   Re: Admin War Plugin
Reply With Quote #6

Thank you for the advice. Here's what happens when I compile locally on my buffer server:

Quote:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// pub_war_nothing.sma
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(31) : error 017: undefined symbol "MAX_PLAYERS"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(168) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(172) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(199) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(201) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(204) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(247) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(256) : warning 204: symbol is assigned a value that is never used: "id"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(388) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(454) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(455) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(493) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(494) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(515) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(516) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(709) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(712) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(847) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(848) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(917) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(928) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(958) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(964) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(965) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(965) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(967) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1013) : warning 203: symbol is never used: "id"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1086) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1087) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1087) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1088) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1128) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1130) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1157) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1182) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1195) : warning 203: symbol is never used: "id"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1202) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1203) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1203) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1205) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1218) : warning 203: symbol is never used: "id"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1300) : error 017: undefined symbol "set_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1301) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1301) : error 017: undefined symbol "show_dhudmessage"
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1303) : warning 217: loose indentation
// MODIR\cstrike\addons\amxmodx\scripting\pub_wa r_nothing.sma(1311) : warning 209: function "LetsFirstChoosePlayers" should return a value
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1342) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1403) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1429) : error 017: undefined symbol "set_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1430) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1430) : error 017: undefined symbol "show_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1432) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1441) : warning 209: function "LetsSecondChoosePlayers" should return a value
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1471) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1573) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1579) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1608) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1659) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1660) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1663) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1664) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1698) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1700) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1734) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1915) : error 017: undefined symbol "set_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1916) : error 017: undefined symbol "show_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1923) : error 017: undefined symbol "set_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1924) : error 017: undefined symbol "show_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1931) : error 017: undefined symbol "set_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1932) : error 017: undefined symbol "show_dhudmessage"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2067) : error 017: undefined symbol "set_dhudmessage"
//
// Compilation aborted.
// 26 Errors.
// Could not locate output file MODDIR\cstrike\addons\amxmodx\scripting\compi led\pub_war_nothing.amx (compile failed).
//
// Compilation Time: 0.69 sec
I have compiled it locally and this is the output. I have ReAPI module too.
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life

Last edited by allroundernaman; 05-22-2020 at 04:06.
allroundernaman is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 05-22-2020 , 05:09   Re: Admin War Plugin
Reply With Quote #7

Quote:
Originally Posted by allroundernaman View Post
Thank you for the advice. Here's what happens when I compile locally on my buffer server:



I have compiled it locally and this is the output. I have ReAPI module too.
ADD
PHP Code:
#include <dhudmessage> 
alferd is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-22-2020 , 05:36   Re: Admin War Plugin
Reply With Quote #8

Quote:
Originally Posted by alferd View Post
ADD
PHP Code:
#include <dhudmessage> 
Thank You For the response. I added dhudmessage. Most errors gone, few left.

Quote:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// pub_war_nothing.sma
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(32) : error 017: undefined symbol "MAX_PLAYERS"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(169) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(173) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(200) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(202) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(205) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(248) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(257) : warning 204: symbol is assigned a value that is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(389) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(710) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(713) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(918) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(929) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(959) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(966) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(968) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1014) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1088) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1089) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1129) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1131) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1158) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1183) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1196) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1204) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1206) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1219) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1302) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1304) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1312) : warning 209: function "LetsFirstChoosePlayers" should return a value
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1343) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1404) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1431) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1433) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1442) : warning 209: function "LetsSecondChoosePlayers" should return a value
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1472) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1574) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1580) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1609) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1660) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1661) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1664) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1665) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1699) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1701) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1735) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2069) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2071) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2078) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2081) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2204) : warning 200: symbol "SwapTeamsAndStartOverTimeFirstH" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2243) : warning 200: symbol "SecondCaptWonKnifeRoundWonMessa" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2258) : warning 200: symbol "FirstCaptainWonKnifeRoundMessag" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2261) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2263) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2447) : warning 200: symbol "FirstHalfOvertimeCompletedHUDMe" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2628) : warning 203: symbol is never used: "DEBUG"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2628) : warning 203: symbol is never used: "RestartGame"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2628) : warning 204: symbol is assigned a value that is never used: "SecondCaptainTeamName"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2628) : warning 203: symbol is never used: "g_PlayerSelected"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2628) : warning 204: symbol is assigned a value that is never used: "g_iMaxPlayers"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2628) : warning 204: symbol is assigned a value that is never used: "is_secondHalf"
//
// 1 Error.
// Could not locate output file MODDIR\cstrike\addons\amxmodx\scripting\compi led\pub_war_nothing.amx (compile failed).
//
// Compilation Time: 1.26 sec
// ----------------------------------------
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life

Last edited by allroundernaman; 05-22-2020 at 05:36.
allroundernaman is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 05-22-2020 , 06:38   Re: Admin War Plugin
Reply With Quote #9

Quote:
Originally Posted by allroundernaman View Post
Thank You For the response. I added dhudmessage. Most errors gone, few left.
ADD:
PHP Code:
#define MAX_PLAYERS 32 
alferd is offline
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 05-22-2020 , 06:53   Re: Admin War Plugin
Reply With Quote #10

Quote:
Originally Posted by alferd View Post
ADD:
PHP Code:
#define MAX_PLAYERS 32 
Ok, added max player. Warnings below
Quote:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// pub_war_nothing.sma
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(170) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(174) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(201) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(203) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(206) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(249) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(258) : warning 204: symbol is assigned a value that is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(390) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(711) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(714) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(919) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(930) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(960) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(967) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(969) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1015) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1089) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1090) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1130) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1132) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1159) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1184) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1197) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1205) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1207) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1220) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1303) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1305) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1313) : warning 209: function "LetsFirstChoosePlayers" should return a value
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1344) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1405) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1432) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1434) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1443) : warning 209: function "LetsSecondChoosePlayers" should return a value
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1473) : warning 203: symbol is never used: "id"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1575) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1581) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1610) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1661) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1662) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1665) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1666) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1700) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1702) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(1736) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2070) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2072) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2079) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2082) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2205) : warning 200: symbol "SwapTeamsAndStartOverTimeFirstH" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2244) : warning 200: symbol "SecondCaptWonKnifeRoundWonMessa" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2259) : warning 200: symbol "FirstCaptainWonKnifeRoundMessag" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2262) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2264) : warning 217: loose indentation
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2448) : warning 200: symbol "FirstHalfOvertimeCompletedHUDMe" is truncated to 31 characters
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2626) : warning 203: symbol is never used: "DEBUG"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2626) : warning 203: symbol is never used: "RestartGame"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2626) : warning 204: symbol is assigned a value that is never used: "SecondCaptainTeamName"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2626) : warning 203: symbol is never used: "g_PlayerSelected"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2626) : warning 204: symbol is assigned a value that is never used: "g_iMaxPlayers"
// MODDIR\cstrike\addons\amxmodx\scripting\pub_w ar_nothing.sma(2626) : warning 204: symbol is assigned a value that is never used: "is_secondHalf"
// Header size: 4328 bytes
// Code size: 58148 bytes
// Data size: 46596 bytes
// Stack/heap size: 16384 bytes; max. usage is unknown, due to recursion
// Total requirements: 125456 bytes
//
// 61 Warnings.
// Done.
//
// Compilation Time: 0.97 sec
// ----------------------------------------

Press enter to exit ...

I think program is compiled, but there are many warnings. Will the warnings affect my plugin or server lag?
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life

Last edited by allroundernaman; 05-22-2020 at 06:53.
allroundernaman 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 07:51.


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