ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2333

Force Clients Visability

by xboxkrnl - 08-08-2018 - 06:09 PM
#1
Leaking because as me and trinty plying with A1 he is actaully using our memes. So sorry A1 but its not 'leet' stuff. Sorry Bro.

Basically all this does is forces players to be visable so that if anyone is invisible to inverts them back.

Nothing Amazing or in A1 case 'LEET' but its something small and useful at times.

Code:
void ForceClientsVisable(bool ForceVisibility){
    for (int i = 0; i < 18; i++){

        int Client = PLAYER::GET_PLAYER_PED(i);

        if (Client > 0 && Client != PLAYER::PLAYER_PED_ID()){
            ENTITY::SET_ENTITY_VISIBLE(PLAYER::GET_PLAYER_PED(i), ForceVisibility);
            NETWORK::SET_PLAYER_VISIBLE_LOCALLY(PLAYER::GET_PLAYER_PED(i), ForceVisibility);
            NETWORK::SET_ENTITY_LOCALLY_VISIBLE(PLAYER::GET_PLAYER_PED(i));
        }
    }
}
This account is currently banned
Ban reason: Multi
Reply
#2
OOOOF hey trinity
Papa A1 Original
Reply

Users browsing: 1 Guest(s)