20.01.2013, 16:11
Hi everyone.
For my purposes, I need to have the current stock in my mod:
(because in this mod before each dialog OnDialog[playerid]=1; must be put and I want to create this stock to free myself from this)
But I'm getting this:
What is actually wrong with the code?
Thanks in advance.
For my purposes, I need to have the current stock in my mod:
pawn Код:
stock ShowDialog(playerid, dialogid, style, caption[], info[], button1[], button2[])
{
OnDialog[playerid]=1;
ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]); //1484
return 1;
}
But I'm getting this:
pawn Код:
C:\SAMP\mod1.pwn(1484) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
What is actually wrong with the code?
Thanks in advance.