01.04.2011, 21:53
yep, no elseif but else if :P
you can use else if but you have to pay attention that this won't cause wrong results
your code is wrong indeed (for sets i always to MAX_PLAYERS), but i'll try to help you
it could be:
... i see, you use strtok method, so it could be that you forgot do define "cmd"
... else if results a wrong code because of a previous true statement
... i can't see a mistake
xD
you can use else if but you have to pay attention that this won't cause wrong results
your code is wrong indeed (for sets i always to MAX_PLAYERS), but i'll try to help you
it could be:
... i see, you use strtok method, so it could be that you forgot do define "cmd"
... else if results a wrong code because of a previous true statement
... i can't see a mistake
xD