two little problems
#1

I edited the "/mdc" cmd to show the age and the phone number. At the compile, it doesn't show any error but in the game it doesn't work.


Код:
format(string, sizeof(string), "Varsta : %s", PlayerInfo[giveplayerid][pAge]);
						SendClientMessage(playerid, COLOR_GRAD2,string);
						format(string, sizeof(string), "Phone : %s", PlayerInfo[giveplayerid][pPnumber]);
						SendClientMessage(playerid, COLOR_GRAD2,string)
						
	}
I took the eXtr1ke's include for showing the ChatColor and it doesn't work. I added #include <ChatColor> and i edited the realchat.
Код:
if (realchat)
	{
	    if(gPlayerLogged[playerid] == 0)
	    {
	        return 0;
      	}
		GetPlayerName(playerid, sendername, sizeof(sendername));
		format(string, sizeof(string), "%s", text);
	    ChatColor(20.0, playerid,string);
		return 0;
	}
Reply


Messages In This Thread
two little problems - by pantelimonfl - 09.12.2010, 17:46
Re: two little problems - by Flo_White - 09.12.2010, 17:59
Re: two little problems - by pantelimonfl - 09.12.2010, 18:05
Re: two little problems - by case 1337: - 09.12.2010, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)