18.05.2015, 04:39
You don't have to create a {} after every if. Use this:
http://pastebin.com/pSCPzsrb
If it still gives errors, show me your pInfo variable.
http://pastebin.com/pSCPzsrb
If it still gives errors, show me your pInfo variable.