@mention in string - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: @mention in string (
/showthread.php?tid=660987)
@mention in string -
GospodinX - 18.11.2018
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
Re: @mention in string -
GospodinX - 19.11.2018
bump..
Re: @mention in string -
GospodinX - 19.11.2018
Thank you! It work's as I wanted!