Text and Player/Team colours.
#1

Hey,

Where can I get the Team or Player colours? Or how can I set it? And how can I change and where can I get the text colours? I also need the colour ID's.

Andy.
Reply
#2

what the hell lol download 1 gamemode and check defined colors , just copy and past them to your script
Reply
#3

You can also get colors by using SA-MP Color picker.
Look in ****** and download it.
Reply
#4

I'm talking about things like this. I don't know how to set the colour... I really need help.
Код:
dcmd_ban(playerid, params[])
{
	new index = 0;
  tmp2 = strtok(params, index);
	if (pInfo[playerid][pAdmin] == 0)
	{
		SystemMessage(playerid, "You are not an Administrator.");
		return 1;
	}
  if(!strlen(tmp2))
	{
		SystemMessage(playerid, "Correct usage: '/ban [playername] [reason]'");
		return 1;
	}
	new string[MAX_STRING];
	new second, minute, hour, day, month, year;
  giveplayerid = ReturnUser(tmp2);
	if (IsPlayerConnected(giveplayerid))
	{
		format(string, sizeof(string), "You have been banned by Administrator %s. (Reason: '%s')", PlayerName(playerid), params);
		SystemMessage(giveplayerid, string);
	  if(dini_Exists(KICKPORTAL))
	  {
		  new File:fhandle;
		  new temp[256];
		  fhandle = fopen(KICKPORTAL, io_append);
		  format(temp, sizeof(temp), "\n%s", PlayerName(giveplayerid));
		  fwrite(fhandle, temp);
		  fclose(fhandle);
	  }
		format(string, sizeof(string), "Player %s has been banned by Administrator %s. (Reason: '%s')", PlayerName(giveplayerid), PlayerName(playerid), params);
		SystemMessageToAll(string);
		format(string, sizeof(string), "%s has been banned by Administrator %s. (Reason: '%s')", PlayerName(giveplayerid), PlayerName(playerid), params);
		print(string);
		gettime(hour, minute, second);
		getdate(year, month, day);
		format(string, sizeof(string), "Player %s banned player %s on %d/%d/%d at %d:%d:%d. (Reason: '%s')", PlayerName(playerid), PlayerName(giveplayerid), month, day, year, hour, minute, second, params);
		ServerLog(string);
		KickPlayer(giveplayerid, "");
  }
  	else
  {
		SystemMessage(playerid, "That player is not active.");
	}
  return 1;
Reply
#5

Talking about changing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)