[QUICK HELP] Need help
#2

if you use any special id for each faction that would be better but in this case you can do a check on name of faction like this (ALGORITHM)
Код:
Onplayertext......
{
 check for the symbol ! in chat
 {
  loop of players
  {
    check faction name of player and each iteration values
     {
      send message to player in this iteration
     }
   }
  }
}
instead of that i would prefer you to make a custom function that would do the same since they can be used in future development of this system which may include group messages and you may only need to call this function well choice is yours.
Reply


Messages In This Thread
[QUICK HELP] Need help - by StrikerZ - 28.10.2016, 13:45
Re: [QUICK HELP] Need help - by SyS - 28.10.2016, 14:13
Re: [QUICK HELP] Need help - by StrikerZ - 29.10.2016, 04:53

Forum Jump:


Users browsing this thread: 1 Guest(s)