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

SetServerRule

Упозорење

Додато у верзији omp v1.1.0.2612. Ова ставка не ради у старијим верзијама. Врста: функција.

Description​

Add a server rule.

Parameters​

NameDescription
const rule[]The server rule name to add.
const format[]The server rule value.
OPEN_MP_TAGS:...Indefinite number of arguments of any tag.

Returns​

Returns true if the function executed successfully, otherwise false.

Examples​

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

Notes​

Напомена

This function is the same as AddServerRule.