Hi, need help with this
#6

Quote:
Originally Posted by grymtn
Посмотреть сообщение
if factions and families are different than eachother you have to use something like:
Код:
CMD:/r(playerid,params[])
{
    new text[128],identifier[3];
    if(sscanf(params,"s[1]s[128]",identifier,text)) return //dosomething
    if(strcmp(identifier,"fam")==0)
    {
         ///dooo youur stuff for family chat
    }
    if(strcmp(identifier,"fac")==0)
    {
        ///dooo youur stuff for faction chat
    } 
}
now your commands for radio would be like:
Код:
/r fam [text] ///this is message to your family radio
/r fac [text] ///this is message to your faction radio
Give me errors, not like that man
Reply


Messages In This Thread
Hi, need help with this - by PierreMarley - 17.11.2017, 18:10
Re: Hi, need help with this - by grymtn - 17.11.2017, 18:16
Re: Hi, need help with this - by solstice_ - 17.11.2017, 18:28
Re: Hi, need help with this - by PierreMarley - 17.11.2017, 18:48
Re: Hi, need help with this - by grymtn - 17.11.2017, 18:57
Re: Hi, need help with this - by PierreMarley - 17.11.2017, 19:01
Re: Hi, need help with this - by grymtn - 17.11.2017, 19:04
Re: Hi, need help with this - by PierreMarley - 17.11.2017, 19:41
Re: Hi, need help with this - by PierreMarley - 18.11.2017, 22:29
Re: Hi, need help with this - by Barnwell - 18.11.2017, 22:54
Re: Hi, need help with this - by thefirestate - 19.11.2017, 02:11
Re: Hi, need help with this - by Sew_Sumi - 19.11.2017, 04:00
Re: Hi, need help with this - by thefirestate - 19.11.2017, 05:14
Re: Hi, need help with this - by grymtn - 19.11.2017, 09:08
Re: Hi, need help with this - by Sew_Sumi - 19.11.2017, 17:31

Forum Jump:


Users browsing this thread: 2 Guest(s)