Raised This Month: $ Target: $400
 0% 

Solved Players List Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 08-19-2022 , 20:02   Re: [Issue] Players List Menu
Reply With Quote #1

Quote:
for (int i = 1; i <= MaxClients; i++)
{
if (!IsClientInGame(i) || !IsFakeClient(i) || !IsPlayerAlive(i) || GetClientTeam(i) != 2 && (StringToInt(sInfo) != i))
continue;

PrintToChatAll("%N has selected %N.", param1, i);
return;
}
I'm sure this is the main issue, I dont know how to target the exact bot selected, which seems like I'm targeting all the bots instead of only the selected one.
__________________

Last edited by alasfourom; 08-19-2022 at 20:03.
alasfourom 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 01:00.


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