dcmd vs scanff vs strcmp ?
#6

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.
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: 4 Guest(s)