SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 22/08/2019, 08:52 PM   #1
Duartstrocci
Big Clucker
 
Join Date: Aug 2018
Posts: 62
Reputation: 0
Default invisible on the tablist

Does anyone know how to be invisible in Tablist?
I've seen it on a server, I've searched everywhere yet found no solution.
Duartstrocci is offline   Reply With Quote
Old 22/08/2019, 09:09 PM   #2
Hazon
Big Clucker
 
Hazon's Avatar
 
Join Date: May 2018
Location: Who cares ?
Posts: 117
Reputation: 11
Default Re: invisible on the tablist

People usually set player color to black. No other solution
Hazon is offline   Reply With Quote
Old 22/08/2019, 09:21 PM   #3
Duartstrocci
Big Clucker
 
Join Date: Aug 2018
Posts: 62
Reputation: 0
Default Re: invisible on the tablist

Quote:
Originally Posted by Hazon View Post
People usually set player color to black. No other solution
There has to be another solution, an example you typed /id Hazon /call hazon or /slap hazon, it appeared that this player was offline but he was online.
Duartstrocci is offline   Reply With Quote
Old 23/08/2019, 04:08 AM   #4
SiaReyes
Huge Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 299
Reputation: 20
Default Re: invisible on the tablist

Quote:
Originally Posted by Duartstrocci View Post
There has to be another solution, an example you typed /id Hazon /call hazon or /slap hazon, it appeared that this player was offline but he was online.
There is no other option other than setting player color to black.
__________________
Hey guys,
We've just started up our own hosting company and we are offering cheap game hosting. Our SAMP servers start at only $0.50 cents for 32 slots per month, or $1.50 for 64. We have ONE FREE spot left for a first month free subscription for any game host of your choice. We host most many major games such as SAMP, Call of Duty, 7 Days to Die, Minecraft, CounterStrike, ARK: Survival Evolved, and many more!

Cheapest hosting company official site : http://main-hosts.com/

Cheap Hosting Company is looking for an experience staff.

Sign up to our forums and Control Panel and order one of our cheap game servers. First to sign up will receive a free SA:MP server! Join on discord https://discord.gg/J82JgQJ for more information!

Quote:
Originally Posted by Toroi View Post
blackmail people that join your server using their ip address as hostage

or get a job and play sa-mp for fun
SiaReyes is offline   Reply With Quote
Old 23/08/2019, 04:11 AM   #5
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 844
Reputation: 62
Default Re: invisible on the tablist

Use Pawn Raknet plugin and this code.

https://forum.sa-mp.com/showpost.php...&postcount=184
Uberanwar is offline   Reply With Quote
Old 23/08/2019, 04:36 AM   #6
Duartstrocci
Big Clucker
 
Join Date: Aug 2018
Posts: 62
Reputation: 0
Default Re: invisible on the tablist

Quote:
Originally Posted by Uberanwar View Post
Use Pawn Raknet plugin and this code.

https://forum.sa-mp.com/showpost.php...&postcount=184
I already have the Pawn Raknet plugin, can you specify a command for this function please?
Duartstrocci is offline   Reply With Quote
Old 23/08/2019, 06:24 AM   #7
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,066
Reputation: 50
Default Re: invisible on the tablist

He gave you whole code to write a command.
You have to use that like this.
PHP Code:
CMD:scoreboard...
{
    new 
bool:show;
    if(
GetPVarInt(playerid,"Hidden") == 1)
    {
        
SetPVarInt(playerid,"Hidden",0);
        
SendClientMessage(playerid,-1,"You're visible now.");
        
show true;
    }
    else
    {
        
SetPVarInt(playerid,"Hidden",1);
        
SendClientMessage(playerid,-1,"You're hidden now.");
        
show false;
    }
    for(new 
0GetPlayerPoolSize(); <= ji++)
    {
        
ShowPlayerOnScoreBoard(playeridishow); 
    }
    return 
true;

__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Old 25/08/2019, 03:45 AM   #8
Duartstrocci
Big Clucker
 
Join Date: Aug 2018
Posts: 62
Reputation: 0
Default Re: invisible on the tablist

It´s worked, many thanks to Uberanwar and Mugala!!
Duartstrocci is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Bug com DIALOG TABLIST HEADERS ThiagoScottish Português/Portuguese 2 27/03/2018 04:17 PM
Tablist help silverms Scripting Help 2 04/03/2017 11:34 PM
Problem with dialog tablist. Edw Scripting Help 5 13/01/2016 06:45 PM
Tablist Headers dionisak0s Scripting Help 2 04/01/2016 11:15 AM
Tablist Headers Help dionisak0s Scripting Help 6 10/10/2015 12:00 PM


All times are GMT. The time now is 12:10 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.