Пређи на главни садржај

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;
}