open.mp forum
[Pawn] CreateDynamic3DTextLabel doesn't appear on the server. - Printable Version

+- open.mp forum (https://forum.open.mp)
+-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
+--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
+--- Thread: [Pawn] CreateDynamic3DTextLabel doesn't appear on the server. (/showthread.php?tid=1842)



CreateDynamic3DTextLabel doesn't appear on the server. - Axitz - 2021-04-06

My label doesn't appear on the server, any idea why?





PHP Code:
enum FInfo { . . . Text3D:HQLabel }









PHP Code:
LoadFactions() { for(new i = 0, l = MAX_FACTIONS; i != l; i) { ? ? FactionInfo[i][FActive] = false; ? ? ? ? new iMessage[256], iFormat[128]; format(iFormat, sizeof(iFormat), "Faction HQ"); strcat(iMessage, iFormat); FactionInfo[i][HQLabel] = CreateDynamic3DTextLabel(iMessage, 0xFFFFFFFF, FactionInfo[i][fenter_x], FactionInfo[i][fenter_y], FactionInfo[i][fenter_z].3, 20.0); // Yeah Ok } }



RE: CreateDynamic3DTextLabel doesn't appear on the server. - Radical - 2021-04-06

Use Create3DTextLabel instead.


RE: CreateDynamic3DTextLabel doesn't appear on the server. - Axitz - 2021-04-06

I got this warning if I use that

warning 202: number of arguments does not match definition

edit:
fixed tq