Raised This Month: $ Target: $400
 0% 

Detecting team change, tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-14-2020 , 08:38   Re: Detecting team change, tag mismatch
Reply With Quote #1

Quote:
Originally Posted by alferd View Post
PHP Code:
g_PostTeam[id]
g_PreTeam[id
To --->

PHP Code:
g_PostTeam
g_PreTeam 
Test
Absolutely not.

There is no "id" in the round end event. That's a global event. You need to loop all players in order to get their ids.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 06-14-2020 , 08:41   Re: Detecting team change, tag mismatch
Reply With Quote #2

Quote:
Originally Posted by OciXCrom View Post
Absolutely not.

There is no "id" in the round end event. That's a global event. You need to loop all players in order to get their ids.
PHP Code:
g_PostTeam[0]
g_PreTeam[0
So it has to work

it's true?
alferd is offline
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 06-14-2020 , 08:46   Re: Detecting team change, tag mismatch
Reply With Quote #3

But I need to get Id number, that will always be a zero right? Because I'm doing multiple people at once, I need to have 32 numbers, that's why I did this in the first place...
__________________
Contact! || Discord:
Mr_Boopsy_#2066
supertrio17 is offline
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 06-14-2020 , 08:53   Re: Detecting team change, tag mismatch
Reply With Quote #4

Quote:
Originally Posted by OciXCrom View Post
Absolutely not.

There is no "id" in the round end event. That's a global event. You need to loop all players in order to get their ids.
I'm sorry, but I never bothered with looping, so can you give me an example?
__________________
Contact! || Discord:
Mr_Boopsy_#2066

Last edited by supertrio17; 06-14-2020 at 08:54. Reason: typo
supertrio17 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 17:12.


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