Requiring some
#1

I'm trying to ensure I use the most efficient command processing and such, so I have decided to only use zcmd and sscanf2 for my commands throughout my newest project.(Mysql Roleplay Server From SCRATCH)

I understand the creator of sscanf2 explained in his thread his system and the uses, but I want a more direct explanation.

Lets say I want to make an OOC command, /(o)oc, What would be the sscanf code to use ? What would I use for any type of chat commands? I understand all it needs to do it grab the text, and and just display it with proxdetector or so.

All explanation are highly appreciated, thanks in advance.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=232129

Look there, there's loads more tutorials explaining how to use sscanf with zcmd, and there's even an example in that tutorial that shows how you can manipulate a string simiular to how you want with /ooc.
Reply
#3

Thanks for the link; I've been messing around and such, and I'm start to understand it a bit more. Thanks though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)