18.11.2018, 19:08
Hi guys,
I want to make @mention in string.For example if I want to make for VIP users that they don't need insert number in /sms.
So that VIP users can use /sms @GospodinX text instead of /sms 50504 text.
I know how to check is player mentioned anyone.
But if someone can help me how to check string which is with @ ( @TEXT_WHICH_I_WANT_TO_CHECK )
Thank you
I want to make @mention in string.For example if I want to make for VIP users that they don't need insert number in /sms.
So that VIP users can use /sms @GospodinX text instead of /sms 50504 text.
I know how to check is player mentioned anyone.
Код:
if(text[0] == '@') { //check name of player which is mentioned }
Thank you