SA-MP Forums Archive
How would i send a message like this? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How would i send a message like this? (/showthread.php?tid=137018)



How would i send a message like this? - Torran - 27.03.2010

Ok so when a player talks in chatbox,
Rather than the old Name: text
Im doing, Name [ID]: text
But im wondering if its possible to do it like this

Name [ID]: text

BUT with Name the players colour?

So if my colour was white Name would be white, If it was black, Name would be black,
Ive tried SendPlayerMessage but thats Name: [ID]: text
Which i dont want, Is this possible?


Re: How to do this? - ScottCFR - 27.03.2010

Seif has a nice one, I use it. Look for it, I can't remember the name.


Re: How would i send a message like this? - Torran - 27.03.2010

Yeah found it ty,

New question:
Quote:
Originally Posted by Joe Torran C
Ok so when a player talks in chatbox,
Rather than the old Name: text
Im doing, Name [ID]: text
But im wondering if its possible to do it like this

Name [ID]: text

BUT with Name the players colour?

So if my colour was white Name would be white, If it was black, Name would be black,
Ive tried SendPlayerMessage but thats Name: [ID]: text
Which i dont want, Is this possible?



Re: How would i send a message like this? - jamesbond007 - 27.03.2010

make a new topic


Re: How would i send a message like this? - Torran - 27.03.2010

Quote:
Originally Posted by jamesbond007
make a new topic
Editing a old one is better than making a new one


Re: How would i send a message like this? - [03]Garsino - 27.03.2010

Quote:
Originally Posted by Joe Torran C
Yeah found it ty,

New question:
Quote:
Originally Posted by Joe Torran C
Ok so when a player talks in chatbox,
Rather than the old Name: text
Im doing, Name [ID]: text
But im wondering if its possible to do it like this

Name [ID]: text

BUT with Name the players colour?

So if my colour was white Name would be white, If it was black, Name would be black,
Ive tried SendPlayerMessage but thats Name: [ID]: text
Which i dont want, Is this possible?
https://sampwiki.blast.hk/wiki/GetPlayerColor


Re: How would i send a message like this? - Torran - 27.03.2010

Yeah but wouldnt that make the whole thing the players colour?