[Help]Choosing for the next gamemode
#9

This must really be broken down for you if you don't even know where to place the given code...

I'd search out & learn about strtok as a start

The given code won't work completely alone, but it would be put under OnPlayerCommandText
strtok is a function that can read words between spaces, example:
/changemode mario

strtok used only once will first find '/changemode'
Use it again, it would find 'mario'
Use it once more it would find nothing because nothing is after mario...

It's best just to search out strtok & read up on it though
Reply


Messages In This Thread
[Help]Choosing for the next gamemode - by MinZ|Spark - 17.03.2010, 14:37
Re: [Help]Choosing for the next gamemode - by MinZ|Spark - 17.03.2010, 15:13
Re: [Help]Choosing for the next gamemode - by andrewp - 17.03.2010, 15:13
Re: [Help]Choosing for the next gamemode - by MinZ|Spark - 17.03.2010, 15:30
Re: [Help]Choosing for the next gamemode - by Jakku - 17.03.2010, 15:34
Re: [Help]Choosing for the next gamemode - by MinZ|Spark - 17.03.2010, 15:37
Re: [Help]Choosing for the next gamemode - by aircombat - 17.03.2010, 17:23
Re: [Help]Choosing for the next gamemode - by MinZ|Spark - 18.03.2010, 01:08
Re: [Help]Choosing for the next gamemode - by XGh0stz - 18.03.2010, 02:14

Forum Jump:


Users browsing this thread: 3 Guest(s)