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(playerid, killerid, reason)
{
new gunname[32], string[250];
GetWeaponName(reason,gunname,sizeof(gunname));
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;
}