Mutliple Strings in Commands
#1

Hey,

I was wondering how I would use something like strings in commands with Zcmd and Sscanf.

I am basically looking to create a '/duty' command for factions and jobs to use but I want to place it into one command. For example, if someone was in a cop they would do '/duty cop' to get their equipment or if someone had the taxi driver job and wanted to go on-duty they would do '/duty job'.

I know how to do this with integers in switches, just not sure with strings as this would make some of my commands a lot easier to use.

Thanks in advance.
Reply


Messages In This Thread
Mutliple Strings in Commands - by aintaro - 17.08.2012, 20:58
Re: Mutliple Strings in Commands - by Kindred - 17.08.2012, 21:03
Re: Mutliple Strings in Commands - by aintaro - 17.08.2012, 21:19

Forum Jump:


Users browsing this thread: 1 Guest(s)