12.11.2016, 20:17
Hello !
i got a wired Error while compling !!!
What the hell that means ^^^^ ?
about the code he is here
Definition :
new DualRoom1,
DualRoom2,
.....
DualRoom4
;
Thanks in advence
i got a wired Error while compling !!!
PHP код:
D:\pawno-master\include\SAPData/Gameplay/Duel.pwn(694) : error 008: must be a constant expression; assumed zero
D:\pawno-master\include\SAPData/Gameplay/Duel.pwn(698) : error 008: must be a constant expression; assumed zero
D:\pawno-master\include\SAPData/Gameplay/Duel.pwn(702) : error 008: must be a constant expression; assumed zero
D:\pawno-master\include\SAPData/Gameplay/Duel.pwn(706) : error 008: must be a constant expression; assumed zero
San Andreas Playground Pawn compiler 1.2 Copyright (c) 2015-2016, ITB CompuPhase, SAPlayground
4 Errors.
about the code he is here
PHP код:
CMD:declineduel(playerid, params[])
{
SendClientMessage(playerid, COLOR_RED, "You decline the duel inventation");
SendClientMessage(Inventation[playerid], COLOR_RED, "your duel inventation got declined.");
Inventation[InventationSent[playerid]] = -1;
InventationSent[playerid] = -1;
switch(playerid)
{
case DualRoom1:
{
DualRoom1 = -1;
}
case DualRoom2:
{
DualRoom2 = -1;
}
case DualRoom3:
{
DualRoom3 = -1;
}
case DualRoom4:
{
DualRoom4 = -1;
}
}
return 1;
}
new DualRoom1,
DualRoom2,
.....
DualRoom4
;
Thanks in advence