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

SetServerRuleFlags

எச்சரிக்கை

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

எச்சரிக்கை

This function has not yet been implemented.

Description​

Sets the flags of a server rule.

Parameters​

NameDescription
const rule[]The server rule name.
E_SERVER_RULE_FLAGS:flagsThe flags to set.

Returns​

Returns true if the function executed successfully, otherwise false.

Examples​

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