31.08.2013, 13:30
Hi, so, I was wondering how you could make a command for example of this nature:
However, the people who type the command will actually have to put these in: |, for example:
As you can see, they have to put the |'s in. If they don't do that, and I just do the regular old strings with sscanf, then it would come up with (what I don't want):
What I want it to be is...:
All I really need to know is how to add the separators in the syntax of the command, how to make it so the people have to add |'s between their event information.
PS: I'm using YCMD and sscanf, if you could relate to that, that'd be great.
I'd appreciate any help whatsoever as I am really struggling with this issue.
Код:
/event Title|Location|Prize|Time|Description
Код:
/event Race|Las Venturas Highway|A lesson on drifting|06:00|We're waiting for you all on the East Side Highway.
Код:
Event Race at Las with the prize Venturas at the time of Highway hours. Some information: A
Код:
Event Race at Las Venturas Highway with the prize A lesson on drifting at the time of 06:00 hours. Some information: We're waiting for you all on the East Side Highway.
PS: I'm using YCMD and sscanf, if you could relate to that, that'd be great.
I'd appreciate any help whatsoever as I am really struggling with this issue.