intoxication level
#1

ok i made this, but when i try /intoxlevel, it does not show level

Код:
	if(strcmp(cmdtext, "/intoxlevel", true) == 0)
 	{
 		new string[10];
	  format(string, sizeof(string), "[Level] - %d", IntoxLevel[playerid]);
 	  SendClientMessage(playerid,COLOR_WHITE,string);
	  return 1;
	}
Reply
#2

This string contains more than 10 cells...
Reply
#3

make string[10] into string[32] or something bigger.
Reply
#4

i say put it to 12 or so.

now it can be %d while %d = 1 or 11. double digits
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)