Gangs chat
#1

Hey im making gangs system so..
i need to know how to make a cmd like !-@-# for gang chat like:
! Hello members!
I dont know how to make it with ZCMD... if someone can help me it's will be great!
currently it is COMMAND:gc(playerid, params[])
[gang chat]
Reply
#2

And i tried COMMAND:!(playerid, params[]) didnt work ingame..
[EDIT]Sorry my bad i could use EDIT to my main topic..
Reply
#3

Quote:
Originally Posted by danielhertz
Посмотреть сообщение
And i tried COMMAND:!(playerid, params[]) didnt work ingame..
[EDIT]Sorry my bad i could use EDIT to my main topic..
Ill code you one. Can ya tell me your gang defines or variables (Is it gTeam[MAX_PLAYERS])?
Reply
#4

Thats the code:
Код:
new gang[MAX_PLAYERS][pginfo];
new ganginfo[MAX_GANGS][ginfo];
If someone else can help me it will be good!
Reply
#5

Could you post your pginfo and ginfo enumerations?
Reply
#6

Ok here it is:
Код:
enum ginfo
{
	grname[75],
	leader,
	active
};

enum pginfo
{
	gid,
	order,
	invited,
	attemptjoin
};
and somene would help you or not:
Код:
#define MAX_GANGS 100
Код:
for(new x; x<MAX_PLAYERS; x++)
	{
		gang[x][gid] = -1;
		gang[x][order] = -1;
		gang[x][invited] = -1;
		gang[x][attemptjoin] = -1;
	}
I hope you'll help me to make a gang chat cmd with ! @ # kinda.
Reply
#7

I can't make it ! @ # but I can make /gangchat [text]
Reply
#8

Man that's the point to make it ! @ or # -.-' someone else can make it or at least teach me?
Reply
#9

Okay, fine. If you would rather have no gang chat than a gang chat that is slightly off of your expectations, I wish you the best of luck. Have a nice day.
Reply
#10

"that is slightly off of your expectations" Maybe.
I'm just trying to get options here.(and help, not complaints about if it's off my expectations please)
anyways thank's for trying to help me (rep+)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)