Custom Player Nametags -
Nyzenic - 18.03.2018
CUSTOM PLAYER NAMETAGS
This filterscript prevents the famous cleo nametag wallhacks, and also prevents FakeNick hacks(for fake screenshots/complaints) but doesn't prevent s0b*et nametag hacks
Download on Pastebin
NOTE:- Make sure to disable the default nametags in your gamemode!
Place this under OnGameModeInit
- The dot characters don't work well with UTF-8.
So if you ever encounter this bug
Just use another encoding method in your text editor/IDE
>> https://imgur.com/a/elRv1gn
Re: Custom Player Nametags -
StrikerZ - 18.03.2018
Looks good, but you don't destroy the label when player disconnects.
PHP Code:
if(armour > 1.0)
This will detect till 1 armour so your getarmourdot function wont work at 0 armor, make it like this
PHP Code:
if(armour > 0.0)
Re: Custom Player Nametags -
Zeth - 18.03.2018
nice, like the health and armor bar.
Ensure that the text labels destroy when player disconnect.
PHP Code:
public OnPlayerDisconnect(playerid)
{
if(IsValidDynamic3DTextLabel(cNametag[playerid]))
DestroyDynamic3DTextLabel(cNametag[playerid]);
return 1;
}
Re: Custom Player Nametags -
Nyzenic - 18.03.2018
Quote:
Originally Posted by StrikerZ
Looks good, but you don't destroy the label when player disconnects.
PHP Code:
if(armour > 1.0)
This will detect till 1 armour so your getarmourdot function wont work at 0 armor, make it like this
PHP Code:
if(armour > 0.0)
|
I did that on purpose so that the armour doesn't display when you don't have any(just like in the default nametags)
Quote:
Originally Posted by Debjit
nice, like the health and armor bar.
Ensure that the text labels destroy when player disconnect.
PHP Code:
public OnPlayerDisconnect(playerid)
{
if(IsValidDynamic3DTextLabel(cNametag[playerid]))
DestroyDynamic3DTextLabel(cNametag[playerid]);
return 1;
}
|
My bad. Thanks for reminding me!
Re: Custom Player Nametags -
StrikerZ - 18.03.2018
Quote:
Originally Posted by nnahtann
I did that on purpose so that the armour doesn't display when you don't have any(just like in the default nametags)
|
Nvm, I misread the code
Re: Custom Player Nametags -
HostedPlayerss - 18.03.2018
Some time I was looking for a similar FS, Good Work
Re: Custom Player Nametags -
Eatmysmoke - 19.03.2018
Maybe Sob force shows the old nametags? did you try setting a timer at OnFilterScriptInit that runs every 1 second to hide the nametags ShowNameTags(0); ? maybe that will terminate the cheat once and for all
Re: Custom Player Nametags -
Nyzenic - 19.03.2018
Quote:
Originally Posted by Eatmysmoke
Maybe Sob force shows the old nametags? did you try setting a timer at OnFilterScriptInit that runs every 1 second to hide the nametags ShowNameTags(0); ? maybe that will terminate the cheat once and for all
|
s0b*et also hides the default nametags and creates their own hacked ones.
ShowNameTags(0); every second still won't prevent the cheat.
Re: Custom Player Nametags -
Eatmysmoke - 19.03.2018
Quote:
Originally Posted by nnahtann
s0b*et also hides the default nametags and creates their own hacked ones.
ShowNameTags(0); every second still won't prevent the cheat.
|
Oh then that's sad, can't be detected with the current samp features this way.
Re: Custom Player Nametags -
SeanDenZYR - 19.03.2018
you finally released it sire nathan, +rep
Re: Custom Player Nametags -
MrDDK - 03.06.2018
how to install it?
plz
https://www.*******.com/channel/UCvG..._as=subscriber
Re: Custom Player Nametags -
thanakan123 - 03.06.2018
nice
Re: Custom Player Nametags -
Nyzenic - 04.06.2018
Quote:
Originally Posted by MrDDK
|
Copy the code inside the pastebin link and paste it into your text editor/pawno and compile it.
After compiling open your gamemode and place this under OnGameModeInit() :
Upload your gamemode and the nametag filterscript to your server files and add the FS to server.cfg
Re: Custom Player Nametags -
Mivco - 04.06.2018
Amazing!!!!
Re: Custom Player Nametags -
MrDDK - 05.06.2018
i am using
https://ultra-h.com and i still don't know how to intall it lol
i mean is there is
amx file & pwn file to download
Re: Custom Player Nametags -
Nyzenic - 07.06.2018
Quote:
Originally Posted by MrDDK
i am using https://ultra-h.com and i still don't know how to intall it lol
i mean is there is amx file & pwn file to download
|
the code in the pastebin link is the pwn code, you have to copy-paste them yourself to your text editor and compile it
Re: Custom Player Nametags -
MrDDK - 07.06.2018
there is no text editor in
https://ultra-h.com
lol
Re: Custom Player Nametags -
linhpro200294 - 13.07.2018
help me fix it with?
code error :
Quote:
C:\Users\Administrator\Desktop\test\pawno\include\ YSI\y_iterate.inc(909) : warning 202: number of arguments does not match definition
C:\Users\Administrator\Desktop\test\pawno\include\ YSI\y_iterate.inc(922) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
Re: Custom Player Nametags -
Th3Tr0piKllaz - 15.07.2018
Re: Custom Player Nametags -
SeanDenZYR - 20.07.2018
Quote:
Originally Posted by Th3Tr0piKllaz
|
don't download the pastebin code, copy paste it into your pawn text editor and compile from there