MySQL. Issue with module design.
#7

Your code does not work because it is not in a callback/function. Pawn is not PHP. The include directive simply copies the content from one file into another and in the end you will still end up with a single gamemode file. So you include the MySQL class once and then you'll be able to use GetConnectionHandle in every other file.
Reply


Messages In This Thread
MySQL. Issue with module design. - by ZZ - 15.06.2015, 17:25
Re: MySQL. Issue with module design. - by ZZ - 16.06.2015, 08:50
Re: MySQL. Issue with module design. - by mamorunl - 16.06.2015, 09:17
Re: MySQL. Issue with module design. - by ZZ - 16.06.2015, 09:45
Re: MySQL. Issue with module design. - by Vince - 16.06.2015, 09:58
Re: MySQL. Issue with module design. - by ZZ - 16.06.2015, 10:15
Re: MySQL. Issue with module design. - by Vince - 16.06.2015, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)