/pks cmd problem
#10

Ok man here you go your problem fix.....

First of all #defines these:

Код:
#define PK_LEVEL_1_COLOR 0xFF0000FF  // or any color you want
#define PK_LEVEL_1 "Peace Keeper"
Then write this anywhere in your script:
Код:
stock PKLVL(lvl)
{
	new string[128];
	switch(lvl)
	{
		case 1:
		{
			format(string, 128, "%s %s", PK_LEVEL_1_COLOR, PK_LEVEL_1);
		}
	}
	return string;
}
put this anywhere in your script (instead of don't put in any commands )

And then in your command CMD: pks, re-write every pkLVL to PKLVL

And you're done! Tell me if it don't works
Reply


Messages In This Thread
/pks cmd problem - by Wherethescripters - 30.12.2017, 08:33
Re: /pks cmd problem - by Ritzy2K - 30.12.2017, 08:55
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 08:57
Re: /pks cmd problem - by RakiT - 30.12.2017, 08:59
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 09:00
Re: /pks cmd problem - by RakiT - 30.12.2017, 09:03
Re: /pks cmd problem - by Ritzy2K - 30.12.2017, 09:06
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 09:13
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 09:15
Re: /pks cmd problem - by RakiT - 30.12.2017, 09:26

Forum Jump:


Users browsing this thread: 2 Guest(s)