Some questions about the server interface -
BadScripter - 26.05.2017
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 ?
Re: Some questions about the server interface -
asri - 26.05.2017
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
Re: Some questions about the server interface -
mongi - 26.05.2017
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
|
Re: Some questions about the server interface -
BadScripter - 26.05.2017
Quote:
Originally Posted by asri
|
Looks useful umma try it thanks tho
Re: Some questions about the server interface -
BadScripter - 26.05.2017
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
Re: Some questions about the server interface -
asri - 26.05.2017
Toggle the drawing of nametags, health bars and armor bars above players
https://sampwiki.blast.hk/wiki/ShowNameTags
Re: Some questions about the server interface -
BadScripter - 26.05.2017
Quote:
Originally Posted by asri
|
Looks so easy and simple I like it ,thank you !
Re: Some questions about the server interface -
mongi - 26.05.2017
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
Re: Some questions about the server interface -
SaiyanZ - 26.05.2017
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
Re: Some questions about the server interface -
Vince - 26.05.2017
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
Re: Some questions about the server interface -
BadScripter - 26.05.2017
Quote:
Originally Posted by Vince
|
I understand his point .
Re: Some questions about the server interface -
BadScripter - 26.05.2017
Quote:
Originally Posted by coool
|
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 .
Re: Some questions about the server interface -
BadScripter - 26.05.2017
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 .