switch
#4

Yes, it is correct. Although I would add a little check like:

pawn Код:
if(location < 0 && location > YOURMAXIMUMAMOUNOFLOCATIONS)
that way you could send the player a message saying that he is using an incorrect idea. Just a little thing but it might be useful
Reply


Messages In This Thread
switch - by Speed - 28.10.2011, 17:29
Re: switch - by park4bmx - 28.10.2011, 17:37
Re: switch - by Speed - 28.10.2011, 17:46
Re: switch - by FUNExtreme - 28.10.2011, 18:09
Re: switch - by iggy1 - 28.10.2011, 18:10

Forum Jump:


Users browsing this thread: 1 Guest(s)