A little problem with 'switch'.
#3

You're now trying to assign a string to a integer.

pawn Код:
new guide[3];

switch(guide)
{
case 0: guide = ''No'';
case 1: guide = "Yes";
}
Reply


Messages In This Thread
A little problem with 'switch'. - by Ihsan_Cingisiz - 23.06.2010, 17:02
Re: A little problem with 'switch'. - by Joe_ - 23.06.2010, 17:05
Re: A little problem with 'switch'. - by Hiddos - 23.06.2010, 17:07
Re: A little problem with 'switch'. - by Joe_ - 23.06.2010, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)