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

More one for your include. I have a lot of functions like this made by me, it was made when I was studying Pawn.RakNet with BrunoBM16.
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;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 11 Guest(s)