Raised This Month: $ Target: $400
 0% 

Solved Client Disconnect ID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-26-2017 , 13:21   Client Disconnect ID
Reply With Quote #1

I was wondering, what happens if you set a bool true on a specific id, then after that person disconnects, does the next person who will connect get access to that bool?

What I'm trying to say
Code:
new bool:g_IsPlayerVIP[33]; public fw_HamSpawnPost(id) { if(get_user_flags(id) & ADMIN_LEVEL_H) g_IsPlayerVIP[id] = true // we set the bool on this player true } public client_disconnect(id) { // we don't set bool to false } public client_putinserver(id) { // does this new player get the other player's id (is the g_IsPlayerVIP bool true on his id) ?
__________________

Last edited by edon1337; 03-01-2017 at 08:42.
edon1337 is offline
 



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 20:50.


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