Raised This Month: $ Target: $400
 0% 

check client disconnect or team == 0 ?


Post New Thread Reply   
 
Thread Tools Display Modes
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 01-30-2017 , 11:15   Re: check client deconnect or team == 0 ?
Reply With Quote #11

edon1337
thx for trying to Help me
Quote:
Originally Posted by Shattered Heart Lynx
The best way to do it is to check if there are no more players in a team when a client disconnects.
yes, as i think .. myb you understand me more than
is it possible to know how can i determine if the team was 0 pls (when diconnected)
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 01-30-2017 , 12:27   Re: check client disconnect or team == 0 ?
Reply With Quote #12

I'd create an array to store the team of the user. That way you can check, for example, the value of team[id].

1 = humans
2 = zombies
__________________
gabuch2 is offline
Old 01-30-2017, 15:41
abdobiskra
This message has been deleted by abdobiskra.
Old 02-01-2017, 10:21
abdobiskra
This message has been deleted by abdobiskra. Reason: solved thx
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 21:03.


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