03.03.2012, 19:26
I can't explain, what i'm trying to do...
I get these errors:
In this code:
I get these errors:
Код:
3dmenu.pwn(4) : error 010: invalid function or declaration 3dmenu.pwn(6) : error 001: expected token: "-identifier-", but found "3" 3dmenu.pwn(8) : error 020: invalid symbol name "" 3dmenu.pwn(8) : error 010: invalid function or declaration 3dmenu.pwn(11) : error 010: invalid function or declaration 3dmenu.pwn(16) : error 004: function "Create3DMenu" is not implemented 3dmenu.pwn(24) : warning 203: symbol is never used: "" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
pawn Код:
forward 3DMenu:Create3DMenu(Float:x, Float:y, Float:z, Float:drawdistance, caption[], virtualworld);
stock 3DMenu:Create3DMenu(Float:x, Float:y, Float:z, Float:drawdistance, caption[], virtualworld)
{
new 3DText:Return;
Return=Create3DTextLabel(caption, color, x, y, z, drawdistance, virtualworld, 0);
return 3DMenu:Return;
}
public OnFilterScriptInit()
{
Create3DMenu(0.0, 0.0, 0.0, 0.0, "", 0);
return 1;
}