17.11.2017, 19:01
Quote:
|
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
}
}
Код:
/r fam [text] ///this is message to your family radio /r fac [text] ///this is message to your faction radio |


