help my with command
#4

no no no

i need create by this code:
Код:
COMMAND:job( playerid, params[ ] )
{
	new CharKintamasis;
	switch( CharKintamasis )
	{
		case 0: CharKintamasis = "Bedarbis";
		case 1: CharKintamasis = "Mechanikas";
		case 2: CharKintamasis = "Policijos Pareigūnas";
	}
	// my cmds...
	format( mystring, 100, "You job is: %s", CharKintamasis );
	SendClientMessage....
	return 1;
}
what from the string get text

if i have pinfo[ playerid ] [ job ] = 0;
when i write command /job i see this :

You job is: Mechanikas or other job.
Reply


Messages In This Thread
help my with command - by organe. - 03.07.2016, 17:20
Re: help my with command - by Stinged - 03.07.2016, 17:25
Re: help my with command - by Theepiccoder - 03.07.2016, 17:35
Re: help my with command - by organe. - 03.07.2016, 17:41
Re: help my with command - by Stinged - 03.07.2016, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)