dcmd vs scanff vs strcmp ?
#7

Quote:
Originally Posted by Masj
Посмотреть сообщение
dcmd is based on strcmp, just dcmd commands loads at the same time as GM. So... DCMD is not the best variant. Better ir ZCMD now, which uses CallLocalFunction. This function helps to hook function don't using strcmp in the onplayercommandtext. So ZCMD is the best variant for this time.

What's about sscanf. Sscanf is fast and very useful function. U can do the same with strtok but it's not comfortable... Much time u spend for arguments writting. So sscanf is the best way to explode strings.
Sscanf is very useful, because it has many features like integer, string, user, hex exploding.
So basicly, sscanf is no command processor but for splitting arguments (like pm/kick/ban commands etc) and dcmd and zcmd are command compressors ?

Anyways i know now how dcmd (and zcmd too then i think) works, but cant find a good explaination about sscanf, do you know a simple tutorial :$ ? thanks for explaining anyways
Reply


Messages In This Thread
dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:26
Re: dcmd vs scanff vs strcmp ? - by Agent Smith - 16.08.2010, 22:37
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:38
Re: dcmd vs scanff vs strcmp ? - by vital2k - 16.08.2010, 22:38
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:40
Re: dcmd vs scanff vs strcmp ? - by Masj - 16.08.2010, 22:41
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:52
Re: dcmd vs scanff vs strcmp ? - by [L3th4l] - 16.08.2010, 22:55
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 23:01
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)