StrTok Function
#9

Quote:
Originally Posted by Stevelo
Quote:
Originally Posted by Pyrokid
I assume you are making a gamemode from scratch. Instead of strtok, I'd suggest you use DCMD with sscanf.

https://sampwiki.blast.hk/wiki/Fast_Commands
strtok isn't only used for commands you know. It isn't a bad function and defintely not that slow. There is nothing wrong with using it.
What else is strtok used for? Wasn't it made for commands? Correct me if I'm wrong.

I've used strtok for many previous scripts and it's just a general bitch to deal with.

I'm not forcing him to use dcmd and sscanf, I'm just making a suggestion which may lead to less of these help threads.
Reply


Messages In This Thread
StrTok Function - by [CK]Steel - 22.03.2009, 00:37
Re: StrTok Function - by [CK]Steel - 22.03.2009, 00:42
Re: StrTok Function - by Think - 22.03.2009, 00:48
Re: StrTok Function - by StrickenKid - 22.03.2009, 00:49
Re: StrTok Function - by Pyrokid - 22.03.2009, 01:06
Re: StrTok Function - by Pghpunkid - 22.03.2009, 01:19
Re: StrTok Function - by NigNog1 - 22.03.2009, 01:26
Re: StrTok Function - by Donny_k - 22.03.2009, 01:32
Re: StrTok Function - by Pyrokid - 22.03.2009, 01:37
Re: StrTok Function - by Remis93 - 22.03.2009, 12:04
Re: StrTok Function - by Pghpunkid - 22.03.2009, 20:49
Re: StrTok Function - by BeckzyBoi - 22.03.2009, 21:04
Re: StrTok Function - by Pyrokid - 22.03.2009, 23:59
Re: StrTok Function - by Pghpunkid - 23.03.2009, 00:25
Re: StrTok Function - by Pyrokid - 23.03.2009, 00:35
Re: StrTok Function - by Norn - 23.03.2009, 01:10
Re: StrTok Function - by Mikep - 23.03.2009, 01:13
Re: StrTok Function - by StrickenKid - 23.03.2009, 01:22
Re: StrTok Function - by Pyrokid - 23.03.2009, 01:59
Re: StrTok Function - by Pghpunkid - 23.03.2009, 05:33
Re: StrTok Function - by Donny_k - 23.03.2009, 08:54

Forum Jump:


Users browsing this thread: 8 Guest(s)