Message!
#1

Код:
if (strcmp("/ranks", cmdtext, true, 10) == 0)
	{
	    new string1[512],string2[512];
	    format(string1, sizeof (string1), "Newbie Killer: %d Kills \r\n Amator Killer: %d Kills \r\n Semi-Advanced Killer: %d Kills \r\n Advanced Killer: %d Kills \r\n Semi-PRO Killer: %d Kills \r\n ",LVL_NEWBIE_KILLER,LVL_AMATOR_KILLER,LVL_SADVANCED_KILLER,LVL_ADVANCED_KILLER,LVL_SPRO_KILLER);
	    format(string2, sizeof (string2), "PRO Killer: %d Kills \r\n Veteran Killer: %d Kills \r\n Rambo: %d Kills \r\n Terminator: %d Kills \r\n Chuck Norris: %d Kills \r\n",LVL_PRO_KILLER,LVL_VETERAN_KILLER,LVL_RAMBO,LVL_TERMINATOR,LVL_NORRIS);
        SendClientMessage(playerid,0xFF0000AA,"                                                              .:Killer Ranks:.");
		SendClientMessage(playerid,0xF4FFFFFF,string1);
		SendClientMessage(playerid,0xF4FFFFFF,string2);
		SendClientMessage(playerid,0xF414FFFF,"                                             .:Your Killer Rank will be saved when you leave:.");
		return 1;
	}
Ok so i have this code but "string1" wont show up when i type the command!

What's the problem?
Reply
#2

I guess your "string1" is just too long... try splitting it into more than 1 message...
Reply
#3

OK fixed it thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)