SA-MP Forums Archive
[FilterScript] Custom Player Nametags - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Custom Player Nametags (/showthread.php?tid=651314)

Pages: 1 2


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:


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
View Post
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
View Post
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
View Post
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
View Post
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
View Post
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
View Post
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() :
Code:
ShowNameTags(0);
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
View Post
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
View Post
don't download the pastebin code, copy paste it into your pawn text editor and compile from there