@mention in string
#1

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.
Код:
if(text[0] == '@')
{
//check name of player which is mentioned
}
But if someone can help me how to check string which is with @ ( @TEXT_WHICH_I_WANT_TO_CHECK )

Thank you
Reply
#2

bump..
Reply
#3

Thank you! It work's as I wanted!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)