Problem
#1

I can't explain, what i'm trying to do...

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.
In this code:

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;
}
Reply
#2

If you hasn't found solution yet, change all 3DMenu to Menu3D. Variable can't be started from numeral.
Reply
#3

I thought it is 3DText:Create3DText, but it is Text3D... Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)