Question.
#1

Hello everyone, i went here to see if they could tell me how i do this. It turns out that i'm preparing a kind of TextDraw in the style of counter strike, which can define the weapon that had the previous player who killed and the right name. Some time ago i made a code but i deleted it because of errors that persisted and persisted.

how this:
Reply
#2

With 0.3DL just make a base texture with it, for player to download. Then make a textdraw that fits into it, and just call it when someone dies. Right?
Reply
#3

If it's placed there it's gonna be a pretty big turn off...
Reply
#4

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
If it's placed there it's gonna be a pretty big turn off...
It will also be listed here: www.sa-mp.com/stuff/samphistory/

Reply
#5

Well, basically i do not want anything customized. I just want to see something simple that can explain to me how to identify the weapon with which the player killed and define it in the textdraw. Just something similar to the image.
Reply
#6

You can get the killers weapon at
PHP код:
OnPlayerDeath(playeridkilleridreason
with
PHP код:
GetPlayerWeapon(killerid
Reply
#7

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
You can get the killers weapon at
PHP код:
OnPlayerDeath(playeridkilleridreason
with
PHP код:
GetPlayerWeapon(killerid
reason will be the weapon id or whatever the killer used to kill the player (like heli blades).

GetPlayerWeapon could be something else at that time, eg. Parachute when in a Heli, or a Shotgun when the victom died of fire which doesn't kill instantly.

https://sampwiki.blast.hk/wiki/Weapons

Those are all IDs including death reasons like Heli Blade/Explosion.

Do you want the Kill List to behave like in CS? So that it "fills" with new entries at the top and after some time the older ones disappear?
Reply
#8

Quote:
Originally Posted by cuber
Посмотреть сообщение
It will also be listed here: www.sa-mp.com/stuff/samphistory/
Shhhh, was talking of that oversized killfeed in the graphics.
Reply
#9

Quote:
Originally Posted by NaS
Посмотреть сообщение
Do you want the Kill List to behave like in CS? So that it "fills" with new entries at the top and after some time the older ones disappear?
Exactly.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)