SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 21/08/2013, 10:01 AM   #1
Insulin
Banned
 
Join Date: Nov 2012
Posts: 147
Reputation: 9
Default Kill/Death Textdraw

need on player death

there shud be a textdraw for killer/killed

you got killed by %s
you killed %s

it shud be for 3 seconds and shud bu in blue color, sky blue preffered. thanks in advance
Insulin is offline   Reply With Quote
Old 22/08/2013, 09:06 AM   #2
Insulin
Banned
 
Join Date: Nov 2012
Posts: 147
Reputation: 9
Default Re: Kill/Death Textdraw

bumpy
Insulin is offline   Reply With Quote
Old 22/08/2013, 09:42 AM   #3
Sanady
High-roller
 
Sanady's Avatar
 
Join Date: May 2012
Location: Los Santos
Posts: 1,170
Reputation: 132
Default Re: Kill/Death Textdraw

Hmm look.%s is for string %d is for integer so you should use change this:
pawn Code:
you got killed by %s
you killed %s
To:
pawn Code:
you got killed by %d
you killed %d
__________________

Sanady is offline   Reply With Quote
Old 22/08/2013, 10:40 AM   #4
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,863
Reputation: 1394
Default Re: Kill/Death Textdraw

Quote:
Originally Posted by Sanady View Post
Hmm look.%s is for string %d is for integer so you should use change this:
pawn Code:
you got killed by %s
you killed %s
To:
pawn Code:
you got killed by %d
you killed %d
He does not want to show "You got killed by 41" (a random ID, but the player's name).

@Insulin It's not a scripting request, there were few threads related to requests. Get the players' name in OnPlayerDeath (killerid and playerid) and show it with game text or you can create one yourself by using a textdraw editor. ****** it, iPLEOMAX's one is really nice.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
death /kill command not work +rep ko2 Scripting Help 11 22/11/2012 03:38 AM
[Pedido]TextDraw Kill Death IgorMendes Português/Portuguese 2 29/03/2012 11:28 AM
Kill/Death Textdraw BigAl Scripting Help 3 13/09/2011 04:35 PM
[HELP] Need help - kill/death textdraw Striker_Moe Help Archive 9 01/01/2010 11:47 PM
Death/kill textdraw help. Striker_Moe Help Archive 6 18/12/2009 01:33 PM


All times are GMT. The time now is 03:20 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.