Help Text In Server
#1

Can someone teach me how make the Text in server
[Image: upanh.ug-rp.vn-sa-mp-001.png]
Reply
#2

Use this:
pawn Код:
SendClientMessage(playerid, color, "The string you want"); //playerid is the id of the person you want to send the text to. Color is the color you want it in an RGBA format. And the string is what you want to show.
To send text to everyone on a server use:
pawn Код:
SendClientMessageToAll(color, "Your string");
Some things I suggest you looking into are:
Defines (for colors and such quicker)
Formatting strings (To add dynamic messages, like "Hello Jeff" if the players name is Jeff, or Greg for Greg.
Basic SA:MP scripting functions

If you have any more questions post in here!


EDIT: Didn't see the image until i posted this post. Use SetObectMaterialText https://sampwiki.blast.hk/wiki/SetObjectMaterialText
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)