28.09.2019, 18:25
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(playerid, bool:enable)
{
if(!IsPlayerConnected(playerid))
return false;
new BitStream:bs = BS_New();
BS_WriteValue(
bs,
PR_BOOL, enable
);
BS_RPC(bs, playerid, 0x6F);
BS_Delete(bs);
return true;
}