முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetServerRuleFlags

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

எச்சரிக்கை

This function has not yet been implemented.

Description​

Gets the flags of a server rule.

Return Values​

Returns the server rule flags.

Examples​

public OnGameModeInit()
{
AddServerRule("discord", "discord.gg/samp");
SetServerRuleFlags("discord", 1);

new E_SERVER_RULE_FLAGS:flags = GetServerRuleFlags("discord");
printf("Flags: %d", _:flags); // Flags: 1
return 1;
}