09.02.2014, 01:33
Hi,
So, I've been getting this error 029 for a while now, and this it's about to drive me insane.
I use multiple .pwns, and then include them into the main .pwn. I'm trying to access AccountOnDialogResponse from Account.pwn from the main .pwn's OnDialogResponse, but its giving me an error.
Account.pwn's function
Main.pwn's function
Account.pwn include(At the top of Main.pwn)
Error
Even when there's code inside of AccountOnDialogResponse, I still get the error.
So, I've been getting this error 029 for a while now, and this it's about to drive me insane.
I use multiple .pwns, and then include them into the main .pwn. I'm trying to access AccountOnDialogResponse from Account.pwn from the main .pwn's OnDialogResponse, but its giving me an error.
Account.pwn's function
Код:
forward AccountOnDialogResponse(playerid, dialogid, response, listitem, inputtext[]); public AccountOnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; }
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { AccountOnDialogResponse(playerid, dialogid, response, listitem, inputtext[]); // This is line 38(The line thats giving me the error) return 1; }
Код:
#include "Scripts\Account.pwn"
Код:
C:\Users\User\Desktop\SAMP\gamemodes\Main.pwn(38) : error 029: invalid expression, assumed zero