Side adress in server
#1

Hey,
I want to put my site adress in my server like 'chaneme' in this one:
http://i42.tinypic.com/2a8epol.jpg
*I circled it in red

What is the script?
Thanks.
Reply
#2

You can use this:
https://sampwiki.blast.hk/wiki/TextDrawCreate
Reply
#3

Thanks
Reply
#4

I tried to use at as a filterscript because in my own script when I added it pawn library stopped working, and I got this errors:
C:\Users\master\Desktop\LARP\filterscripts\text.pw n(5) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\master\Desktop\LARP\filterscripts\text.pw n(9) : error 017: undefined symbol "TextDrawCreate"
C:\Users\master\Desktop\LARP\filterscripts\text.pw n(9) : warning 213: tag mismatch
C:\Users\master\Desktop\LARP\filterscripts\text.pw n(13) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\master\Desktop\LARP\filterscripts\text.pw n(16) : error 017: undefined symbol "TextDrawShowForPlayer"
C:\Users\master\Desktop\LARP\filterscripts\text.pw n(9) : warning 204: symbol is assigned a value that is never used: "welcomeText"

I just copied it as it is and changed the adress
Reply
#5

-Nevermind, I must go to sleep.. But tomorrow I'll come back.
Reply
#6

Quote:
Originally Posted by Guitar
Посмотреть сообщение
-Nevermind, I must go to sleep.. But tomorrow I'll come back.
Damn Ok, thanks dude!
Reply
#7

Show me your code with your errors, then I can help you!
Reply
#8

Quote:
Originally Posted by Twisted_Insane
Посмотреть сообщение
Show me your code with your errors, then I can help you!
I just tried this one:
// This variable is used to store the id of the textdraw
// so that we can use it throught the script
new Text:welcomeText;

public OnGameModeInit()
{
// This line is used to create the textdraw.
// Note: This creates a textdraw without any formatting.
welcomeText = TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server");
return 1;
}

public OnPlayerConnect(playerid)
{
//This is used to show the player the textdraw when they connect.
TextDrawShowForPlayer(playerid,welcomeText);
Reply
#9

I suggest you to read this here again and make sure, you're doing everything right! It's better and more explained that the wiki:

https://sampforum.blast.hk/showthread.php?tid=2867

Do the errors disappear if you delete all that textdraw-stuff?
Reply
#10

Quote:
Originally Posted by Twisted_Insane
Посмотреть сообщение
I suggest you to read this here again and make sure, you're doing everything right! It's better and more explained that the wiki:

https://sampforum.blast.hk/showthread.php?tid=2867

Do the errors disappear if you delete all that textdraw-stuff?
It worked, but it's not like I wanted.
I want it to be downstairs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)