02.10.2018, 11:41
So, i'm having a problem with Discord connector,
i wan't to use this:
so only specific roles can use a certain command, (i'm using DCC.inc)
My problem is the formatting (or whatever you call that) thing of DCC_Guild and DCC_Role, like, how do i play with them,
if i do
it gives me a tag mismatch warning,
and if i do
it still gives me a tag mismatch warning, what should i do?
i wan't to use this:
pawn Код:
DCC_HasGuildMemberRole(DCC_Guild, DCC_User:user, DCC_Role:role, &bool:has_role);
My problem is the formatting (or whatever you call that) thing of DCC_Guild and DCC_Role, like, how do i play with them,
if i do
pawn Код:
new DCC_Guild:guildId;
guildId = *guildid*;
and if i do
pawn Код:
guildId = strlen("*guildid*");