Script for making sa-mp films?
#1

Hi all. I'm new in this forum.
I want to know is there any script for samp what can disable chat and players name above players.
I'm looking for it because I will make film in samp and I don't want see needless texts
Reply
#2

if(strcmp(cmd, "/nametagsoff", true) == 0)
{
ShowNameTags(0);
}
& to turn on

if(strcmp(cmd, "/nametagson", true) == 0)
{
ShowNameTags(1);
}



btw, idk if this will work
Reply
#3

Quote:
Originally Posted by Anthony_Brassi
if(strcmp(cmd, "/nametagsoff", true) == 0)
{
ShowNameTags(0);
}
& to turn on

if(strcmp(cmd, "/nametagson", true) == 0)
{
ShowNameTags(1);
}



btw, idk if this will work
pawn Код:
new nametags = 1;
if(strcmp(cmd, "/nametags", true) == 0)
{
  if(nametags == 0)
  {
    ShowNameTags(1);
    nametags = 1;  
    SendClientMessage(playerid, 0xFFFF00AA, "Nametags are turned ON now!");  
  }
  if(nametags == 1)
  {
    ShowNameTags(0);
    nametags = 0;
    SendClientMessage(playerid, 0xFFFF00AA, "Nametags are turned OFF now!");
  }
}
This is a more advanced version, add it under "OnPlayerCommandText".

Greets,
Mujib
Reply
#4

Quote:
Originally Posted by Mujib
Quote:
Originally Posted by Anthony_Brassi
if(strcmp(cmd, "/nametagsoff", true) == 0)
{
ShowNameTags(0);
}
& to turn on

if(strcmp(cmd, "/nametagson", true) == 0)
{
ShowNameTags(1);
}



btw, idk if this will work
pawn Код:
new nametags = 1;
if(strcmp(cmd, "/nametags", true) == 0)
{
  if(nametags == 0)
  {
    ShowNameTags(1);
    nametags = 1;
    SendClientMessage(playerid, 0xFFFF00AA, "Nametags are turned ON now!");  
  }
  if(nametags == 1)
  {
    ShowNameTags(0);
    nametags = 0;
    SendClientMessage(playerid, 0xFFFF00AA, "Nametags are turned OFF now!");
  }
}
This is a more advanced version, add it under "OnPlayerCommandText".

Greets,
Mujib
yeah, i just threw it together, didn't bother doing that
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)