Compiling errors in an include (error 017)
#1

Errors:
Код:
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(221) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(225) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(226) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(218) : warning 203: symbol is never used: "mZoom"
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(218) : warning 203: symbol is never used: "Zrot"
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(218) : warning 203: symbol is never used: "Yrot"
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(218) : warning 203: symbol is never used: "Xrot"
D:\Users\Omar\Desktop\Ultra Cubic World\pawno\include\MPM.inc(218) : warning 203: symbol is never used: "modelindex"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Lines:
pawn Код:
stock PlayerText:MPM_CreateMPTextDraw(playerid, modelindex, Float:Xpos, Float:Ypos, Float:Xrot, Float:Yrot, Float:Zrot, Float:mZoom, Float:width, Float:height, bgcolor) //line 218
{
    new PlayerText:txtPlayerSprite = CreatePlayerTextDraw(playerid, Xpos, Ypos, ""); // it has to be set with SetText later // line 221
    PlayerTextDrawFont(playerid, txtPlayerSprite, TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawColor(playerid, txtPlayerSprite, 0xFFFFFFFF);
    PlayerTextDrawBackgroundColor(playerid, txtPlayerSprite, bgcolor);
    PlayerTextDrawTextSize(playerid, txtPlayerSprite, width, height); // Text size is the Width:Height
    PlayerTextDrawSetPreviewModel(playerid, txtPlayerSprite, modelindex); //line 225
    PlayerTextDrawSetPreviewRot(playerid,txtPlayerSprite, Xrot, Yrot, Zrot, mZoom); //line 226
    PlayerTextDrawSetSelectable(playerid, txtPlayerSprite, 1);
    PlayerTextDrawShow(playerid,txtPlayerSprite);
    return txtPlayerSprite;
}
I commented the line numbers in the code provided above.
Thank you in advance.
Reply
#2

You need to have 0.3x includes.
Reply
#3

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
You need to have 0.3x includes.
I'm sure of that and I double checked that anyway. Still gives the same errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)