SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 22/08/2019, 09: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, 10:09 PM   #2
Hazon
Big Clucker
 
Hazon's Avatar
 
Join Date: May 2018
Location: Who cares ?
Posts: 140
Reputation: 25
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, 10: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, 05:08 AM   #4
SiaReyes
Huge Clucker
 
SiaReyes's Avatar
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 328
Reputation: 22
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.
__________________
Offshowtime Fuck It!

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, 05:11 AM   #5
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 855
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, 05: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, 07:24 AM   #7
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,112
Reputation: 67
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, 04: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 05:17 PM
Tablist help silverms Scripting Help 2 05/03/2017 12:34 AM
Problem with dialog tablist. Edw Scripting Help 5 13/01/2016 07:45 PM
Tablist Headers dionisak0s Scripting Help 2 04/01/2016 12:15 PM
Tablist Headers Help dionisak0s Scripting Help 6 10/10/2015 01:00 PM


All times are GMT. The time now is 10:48 AM.


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