SA-MP Forums Archive
SendDeathMessage string question - 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: SendDeathMessage string question (/showthread.php?tid=608406)



SendDeathMessage string question - TwinkiDaBoss - 31.05.2016

Alright so I'm trying to do something crazy, but I'm not sure if it can be even done
Im trying to make a system that will basically display DeathReason as string.

I have tried various types of codes but cant get my head around it honestly. Anyone managed to pull something like this yet?

For example custom SendDeathMessage custom shit in it

Example:
PHP код:
SendDeathMessage(killerid,playerid,GetPlayerScore(playerid)); 
This WORKS but it will use score to get reason ID (weaponid)

Is it possible to display int in it


Re: SendDeathMessage string question - ilijap - 31.05.2016

you can try something with textdraws make 5 textdraws next to the 5 messages and then set string and show/hide them


Re: SendDeathMessage string question - zSuYaNw - 31.05.2016

is not possible...

You can do with a textdraw...
Default death reasons: https://sampwiki.blast.hk/wiki/Weapons


Re: SendDeathMessage string question - TwinkiDaBoss - 31.05.2016

Yeah was wondering, textdraws it is. Thanks +rep