View Full Version : Need help ! For good scripters please !

23/01/2015, 04:08 PM
I need a tutorial or a script for this:

"When the player is death,to show Attach3DTextLabelToPlayer at his head with wich gun and how many bullets was shooted..And where was shooted.." If you know a FS or script give me please..

Thank you..

23/01/2015, 04:21 PM
This is scripting help, not scripting requests, wrong section. http://forum.sa-mp.com/showthread.php?t=447813:mad::mad::mad::mad::mad::m ad:

Michael B
23/01/2015, 04:27 PM
Could do something with Attach3DTextLabelToPlayer (http://wiki.sa-mp.com/wiki/Attach3DTextLabelToPlayer) function.

23/01/2015, 04:55 PM
Give me an example how can i do this...

23/01/2015, 05:16 PM
i think its something like this ...

( BTW this script show only the weapon name )

public OnPlayerDeath(playerid, killerid, reason)
new gunname[32], string[250];
format(string, 250, "i Died By %s Weapon", gunname);
new Text3D:label = Create3DTextLabel(string, 0x38FF06FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
return 1;