Switch Failures
#1

http://pawn.pastebin.com/d44d91984

Код:
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(5) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : error 027: invalid character constant
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : error 017: undefined symbol "ext"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : error 014: invalid statement; not in switch
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : warning 215: expression has no effect
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : error 017: undefined symbol "one"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : fatal error 107: too many error messages on one line
Any ideas?
Reply
#2

' ' quote types are used to define a character rather than a string, and I'm not sure you can use a string in switch, however it would be with " " for a string. I'm not very sure, I've never used switch like that.
Reply
#3

http://pawn.pastebin.com/d1c4ca8b2

Gave me

Код:
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(5) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(7) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(37) : error 001: expected token: "-string end-", but found "-identifier-"
And no this is not the whole script.
Reply
#4

hi try this
http://pawn.pastebin.com/m57b9dd51
see ya
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)