SA-MP Forums Archive
death box + 3DTextLabel help! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: death box + 3DTextLabel help! (/showthread.php?tid=263384)



death box + 3DTextLabel help! - [EDT]AmanSingh123 - 21.06.2011

hey,

just wanted to know how to add that death box at the side of the screen when a player dies like it says "player name *weapon pic* Player name",

------------

also i need help 3dtextlabel, ive added:-


Create3DTextLabel("/cmds",0x3A47DEFF,1221.31, -2034.98, 65.22,30.0,1);

Create3DTextLabel("/cmds",0x3A47DEFF,1221.49, -2036.45, 65.22,30.0,1);

Create3DTextLabel("/cmds",0x3A47DEFF,1221.44, -2038.17, 65.22,30.0,1);

Create3DTextLabel("www.drift-evolution.tk",0x3A47DEFF,1241.98, -2037.21, 60.05,30.0,1);

Create3DTextLabel("/car [name]",0x3A47DEFF,1252.48, -2047.57, 59.83,30.0,1);

Create3DTextLabel("/menu1 - 5",0x3A47DEFF,1246.05, -2047.45, 60.02,30.0,1);

Create3DTextLabel("thank you for playing with ut",0x3A47DEFF,1274.81, -2049.07, 59.25,30.0,1);


to ongamemodeinit but when i go inside the server the 3dtextlabel isnt their O_O

could anyone possible help me on those two problems?


Re: death box + 3DTextLabel help! - Wesley221 - 21.06.2011

pawn Код:
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
Change the virtualworld to 0, it's 1 in your labels

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}
This will show the message