SA-MP Forums

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

Thread Tools Display Modes
Old 16/12/2010, 05:23 PM   #1
Little Clucker
Join Date: Nov 2010
Posts: 34
Reputation: 6
Default [Help] Text Draw Help.

Hey everyone, how can i make it so in this text draw -

PHP Code:
    Textdraw0 TextDrawCreate(546.00000040.000000"Kills: 100");
TextDrawColor(Textdraw0, -16776961);
Instead of score 100, it would display players actual score? and update it as well.

It goes from pKills but where should i put it?
[Comrade] is offline  
Old 16/12/2010, 05:30 PM   #2
Join Date: Nov 2010
Location: The Netherlands
Posts: 918
Reputation: 348
Default Re: [Help] Text Draw Help.

Do you mean: that when you join, the kills of the player will count <--- then I can help you.
If you mean: when the person registeres the kills will count (each login) <--- then I can't help you.
Baboon is offline  
Old 16/12/2010, 05:40 PM   #3
Huge Clucker
Seven.'s Avatar
Join Date: Sep 2010
Posts: 253
Reputation: 0
Default Re: [Help] Text Draw Help.

pawn Code:
public OnPlayerDeath(playerid,killerid,reason)
new string[128];
format(string, sizeof(string), "Kills: %d", pKills[killerid]); // Put here your thingy that stores the kills.
return 1;

Something like this?
Seven. is offline  
Old 16/12/2010, 09:48 PM   #4
Little Clucker
Join Date: Nov 2010
Posts: 34
Reputation: 6
Default Re: [Help] Text Draw Help.

Most server have that kind of thing, like when u connect, register and play kills count, when you exit and go back on, they are still there.

I want textdraw always be there too
[Comrade] is offline  
Old 16/12/2010, 10:22 PM   #5
Little Clucker
Join Date: Nov 2010
Posts: 34
Reputation: 6
Default Re: [Help] Text Draw Help.

Never mind, i figured it out! Thanks alot everyone!
[Comrade] is offline  

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
.::[ Text Draw HELP ]::. DarkPower Help Archive 5 14/05/2010 09:59 AM
TEXT DRAW [SU]CHRiS Help Archive 1 19/02/2010 08:15 PM
[HELP] Text Draw Need TraNe15 Help Archive 6 19/09/2009 07:54 PM
Text Draw [HELP] gytisx Help Archive 10 27/06/2009 11:09 AM

All times are GMT. The time now is 06:50 PM.

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