[HELP] How to get like this in my server??
#1

Hey all i have a question how can i make some like this in my server?
sorry for ad but i dont know how other:

some can help me??
Reply
#2

It's called a textdraw

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

Info on TextDraws
Reply
#3

That my dear friend is a Textdraw. Uses this function so set it's position with your preferred text: https://sampwiki.blast.hk/wiki/TextDrawCreate
Reply
#4

Okay Thanks for you help
Reply
#5

I have do what i need to do but i get :
Quote:

error 010: invalid function or declaration

Reply
#6

Quote:
Originally Posted by Xtreme-Nicole
Посмотреть сообщение
I have do what i need to do but i get :
You obviously aren't using it correctly.

First, paste this at the top of your script, below the includes.

pawn Код:
new Text:yourtext
Next, we're going to create a simple function.

pawn Код:
YourTextDraw(playerid)
{
   yourtext = TextDrawCreate(0.0,0.0,"Place what you want in here."); //Remember to change the values of the floats.
   TextDrawShowForPlayer(playerid,yourtext);
}
Place this function, in your desired callback (ex. OnPlayerConnect)

pawn Код:
OnPlayerConnect(playerid)
{
   YourTextDraw(playerid);
}
If you would like the textdraw to be hidden or destroyed when the player spawns, add this:

pawn Код:
OnPlayerSpawn(playerid)
{
   TextDrawHideForPlayer(playerid,yourtext);
   TextDrawDestroy(yourtext);
}
Reply
#7

can some give me a complete script cuz what i do it dont work
Reply
#8

http://pastebin.com/NJ74r9YW - Pastebin.
http://www.sendspace.com/file/cemg4u - Download.
Reply
#9

Thanks
Reply
#10

No Problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)