help my with command
#1

hey all, i need a create command for jobs

my 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;
}
And i need to the print this: You job is: Mechanikas

what do it ?

sry for my bad english (
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)