SA-MP Forums Archive
MAX_TEAMS, MAX_GROUPS Ect.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MAX_TEAMS, MAX_GROUPS Ect.. (/showthread.php?tid=360536)



MAX_TEAMS, MAX_GROUPS Ect.. - Shockey HD - 18.07.2012

So i have ran into a problem relating to things like MAX_TEAMS and MAX_GROUPS when it comes to creating a croup.

So at the top of my script i have

Код:
#define MAX_GROUP 25
Код:
new gColor[MAX_GROUP]
Код:
new gName[MAX_GROUP]
Now this is where i have the problems.

Код:
CMD:createclan(playerid,params[])
{
	if(pInfo[playerid][pAdmin] >= 3)
	{
	    new ID,Name[128],string[128],aname[32];
	    if(sscanf(params, "s[128]",Name)) return SendClientMessage(playerid, COLOR_WHITE,"/creategroup [Clane Name]");
Then from there on, I am clueless. Any assistance?