Some questions about the server interface
#1

I've some inquires about how to change the server interface in samp and want some help .

-Is it possible to hide the health and armor bar in my server so ppl can't see the health or the armor bar above the player head ?

-Is it possible to change the interface of the server "the weapon place and the health/armor bar and the money " can i hide them or move them ?

-How to create a decent speedmeter with a good looking instead of having it like "Speed : *** Km/h" is there any way to make something better than that ?

-How to create a textdraw above the player head ? what's the code to do that ?
Reply
#2

Quote:

-How to create a textdraw above the player head ? what's the code to do that ?

https://sampforum.blast.hk/showthread.php?tid=634185
Reply
#3

1- I guess yeah, ShowNameTags(Option); 1 to show, 0 to hide
2- I think you can't hide them, It's a part of GTA SA as a game, not samp but u can make your own health bar on them (Your new health bar will be the old one so it will hide it)
3- Seems impossible lol (I think)
4-
Quote:
Originally Posted by asri
Посмотреть сообщение
Reply
#4

Quote:
Originally Posted by asri
Посмотреть сообщение
Looks useful umma try it thanks tho
Reply
#5

Quote:
Originally Posted by mongi
Посмотреть сообщение
1- I guess yeah, ShowNameTags(Option); 1 to show, 0 to hide
2- I think you can't hide them, It's a part of GTA SA as a game, not samp but u can make your own health bar on them (Your new health bar will be the old one so it will hide it)
3- Seems impossible lol (I think)
4-
Uhm ... can you explain more about "ShowNameTags(Option)" I am new and would like to learn it also the same with creating new health bar
Reply
#6

Toggle the drawing of nametags, health bars and armor bars above players

https://sampwiki.blast.hk/wiki/ShowNameTags
Reply
#7

Quote:
Originally Posted by asri
Посмотреть сообщение
Toggle the drawing of nametags, health bars and armor bars above players

https://sampwiki.blast.hk/wiki/ShowNameTags
Looks so easy and simple I like it ,thank you !
Reply
#8

I don't even know how to create a new health bar for your server but i saw it being used in many servers which mean it's possible
Reply
#9

For Example
PHP код:
public OnGameModeInit()
{
ShowNameTags(0); // Here 0 means the name tags and the health bar will disappear,
// IF you place 1 in place of 0 that means the name tags will be visible.
//Other codes here
return 1;

Try to figure it out by testing, you'll learn much quicker,
Instead of copy paste :P
Reply
#10

Quote:
Originally Posted by BadScripter
Посмотреть сообщение
-Is it possible to change the interface of the server "the weapon place and the health/armor bar and the money " can i hide them or move them ?
http://forum.sa-mp.com/showpost.php?...&postcount=287
Reply
#11

Quote:
Originally Posted by Vince
Посмотреть сообщение
I understand his point .
Reply
#12

Quote:
Originally Posted by coool
Посмотреть сообщение
-Check the samp+ in plugins section.
-You can make a circular textdraw for that. ****** it.
-Do you mean this https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Can you give me link for samp+ ?

If I made it all it can be moving like the real speedmeter ? or i'll end up having the circle and the numbers and everything without having it working .

Yes that's exactly what I was asking about

Thanks tho .
Reply
#13

Quote:
Originally Posted by SaiyanZ
Посмотреть сообщение
For Example
PHP код:
public OnGameModeInit()
{
ShowNameTags(0); // Here 0 means the name tags and the health bar will disappear,
// IF you place 1 in place of 0 that means the name tags will be visible.
//Other codes here
return 1;

Try to figure it out by testing, you'll learn much quicker,
Instead of copy paste :P
Yes I see is seams easy one ,at least not that hard to get it done .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)