SA-MP Forums Archive
3DText problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3DText problem (/showthread.php?tid=531683)



3DText problem - TheSnicky - 14.08.2014

WARNINGS
C:\Users\Sale\Desktop\New Dawn RolePlay (FC)\New Dawn RolePlay\gamemodes\ndrpnovi.pwn(7261) : warning 213: tag mismatch
C:\Users\Sale\Desktop\New Dawn RolePlay (FC)\New Dawn RolePlay\gamemodes\ndrpnovi.pwn(7261) : warning 202: number of arguments does not match definition

THE LINE
new Text3D:label = Create3DTextLabel("Bruttaly Wounded, Was hit % times, Weapon: %s", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, amount, weaponName);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);


Re: 3DText problem - Jefff - 14.08.2014

pawn Код:
new string[64];
format(string,sizeof(string),"Bruttaly Wounded, Was hit %d times, Weapon: %s",amount, weaponName);
new Text3D:label = Create3DTextLabel(string, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);



Re: 3DText problem - TheSnicky - 14.08.2014

Thaanks<33 Rep+