Raised This Month: $ Target: $400
 0% 

Save Entity Index with BitSum


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
XSlayer
Member
Join Date: Dec 2021
Old 07-26-2022 , 18:33   Save Entity Index with BitSum
Reply With Quote #1

Hi i wanted to know, how can i save an index for a client, with bitsums

PHP Code:
new __int_Entity[33];

public 
CreateEntityClient )
{
      
__int_Entity[Client] = create_entity"env_sprite" );
}
public 
RemoveEntityClient )
{
     if(
is_valid_ent(__int_Entity[Client]))
     {
         
entity_set_int__int_Entity[Client], EV_INT_flagsentity_get_int__int_Entity[Client], EV_INT_flags ) | FL_KILLME );        
     }
     
__int_Entity[Client]  = 0;


Last edited by XSlayer; 07-26-2022 at 18:35.
XSlayer 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 15:33.


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