Please help
#1

Errror

Код HTML:
case 'A'..'Я', 'a'..'я', ' ': return ShowPlayerDialog(playerid, 1, DSM, "Shecvale", "shecvle rasklakidebi", "gaimeore", "");
Код HTML:
C:\Users\Gigi\Desktop\New folder\gamemodes\Fletcher2.pwn(104) : error 040: duplicate "case" label (value 97)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
this is code

please help
Reply
#2

Please mention the full code with line 104 highlighted.
Reply
#3

Yea, show you code.
But i think this occuer cuz you made the case two times with the same name like:
PHP код:
case 0:
case 
0//Here we will get a error becuase we dublicate the case 
Try to change its name.
Reply
#4

i have 1 case only .. im making register system

Reply
#5

This is duetch right ?
Anyway, why you make it like that you can make it:
PHP код:
Case 0
But this is know by .....
Reply
#6

'A' .. 'Я' is the equivalent of 65 .. 225. 'a' .. 'я' is the equivalent of 97 .. 152. So naturally you get overlap, which isn't allowed. Besides that, those ranges contain loads of characters that you probably don't want, nor need.

http://www.asciitable.com/
Reply
#7

So make it
PHP код:
case 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)