[Include] perplayer.inc - collection of player-based functions (ForPlayer analogues)
#5

Quote:
Originally Posted by Cycle
View Post
I can give you some functions.

I made an include with a lot of functions like this.

Below there's one.:
PHP Code:
stock ToggleWidescreenForPlayer(playeridbool:enable)
{
    if(!
IsPlayerConnected(playerid))
        return 
false;
    new 
BitStream:bs BS_New();
    
BS_WriteValue(
        
bs
        
PR_BOOLenable
    
);
    
BS_RPC(bsplayerid0x6F);
    
BS_Delete(bs);
    return 
true;

Thanks, but it seems that this function is unstable, therefore it's hidden and inaccessible in samp by default. As far as I remember, different players had black bars at the top and bottom of the screen, while others didn't have them and only the hood was hidden.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)