Need some answers
#2

sscanf(******'s) splits a string into integers/floats/strings etc... useful with commands like
Код:
/givemoney [playerid] [amount]
strtok checks for a variable after a space. That is why it was used in commands so much. tmp is just a name of the variable after the space that was most commonly used.
Reply


Messages In This Thread
Need some answers - by Faisal_khan - 19.06.2012, 06:28
Re: Need some answers - by ReneG - 19.06.2012, 06:37
Re: Need some answers - by Faisal_khan - 19.06.2012, 06:40
Re: Need some answers - by ReneG - 19.06.2012, 06:45
Re: Need some answers - by Faisal_khan - 19.06.2012, 06:50
Re: Need some answers - by ReneG - 19.06.2012, 06:52
Re: Need some answers - by iggy1 - 19.06.2012, 07:03
Re: Need some answers - by Faisal_khan - 19.06.2012, 07:04

Forum Jump:


Users browsing this thread: 2 Guest(s)