03.07.2016, 17:20
hey all, i need a create command for jobs
my code:
And i need to the print this: You job is: Mechanikas
what do it ?
sry for my bad english (
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; }
what do it ?
sry for my bad english (