SA-MP Forums Archive
Need help ! For good scripters please ! - 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: Need help ! For good scripters please ! (/showthread.php?tid=559481)



Need help ! For good scripters please ! - DonBonanno - 23.01.2015

Hello..
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..


Re: Need help ! For good scripters please ! - JaydenJason - 23.01.2015

This is scripting help, not scripting requests, wrong section. https://sampforum.blast.hk/showthread.php?tid=447813


Re: Need help ! For good scripters please ! - Michael B - 23.01.2015

Could do something with Attach3DTextLabelToPlayer function.


Re: Need help ! For good scripters please ! - DonBonanno - 23.01.2015

Give me an example how can i do this...


Re: Need help ! For good scripters please ! - GGW - 23.01.2015

i think its something like this ...

( BTW this script show only the weapon name )

PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
   new 
gunname[32], string[250];
   
GetWeaponName(reason,gunname,sizeof(gunname));
   
format(string250"i Died By %s Weapon"gunname);
   new 
Text3D:label Create3DTextLabel(string0x38FF06FF30.040.050.040.00);
   
Attach3DTextLabelToPlayer(labelplayerid0.00.00.7);
   return 
1;