Help with channes [please help]
#1

I need a little help...again....

I want to make chat channels, and I got some replies, which i can't understand....is it possible for someone to make me like a channel FS? like if a player is TEAM_COP and he types /c haha then only other TEAM_COP players get this : Player says: haha


Thanks in advance
Reply
#2

Its quite a simple process...

Just use a loop for all players, see if the player is in TEAM_COP for example, and then send them the message if they are.
Reply
#3

what he said, make a loop and then something like: if(getplayerteam(playerid) == team1) etc..
then sendClientmessage etc. Also use formats.
Reply
#4

Can you just make an example please? like onplayercommandtext or something because i am new to scripting and i have no idea how to do it?

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)