Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Hendrix

#31
Snippet Showroom / Re: Vote Kick System
Nov 28, 2018, 11:23 PM
jjjj debo probar eso
#33
Servers / Re: [RD]Latino America
Sep 10, 2018, 06:30 PM
XD
#34
Bugs and Crashes / Re: getip
Aug 30, 2018, 03:54 AM
Traduce
#35
Quote from: Stormeus on Aug 10, 2018, 02:49 AMWhat Linux distribution are you running on?
He used debian 8 the host in mine
#36
Servers / Re: [RD]Latino America
Aug 05, 2018, 10:44 PM
Hay que actualizar
#37
Bugs and Crashes / Re: getip
Jul 30, 2018, 09:15 PM
Quote from: UrbanY on Jun 24, 2018, 11:07 PMHow to update a plugin to 04rel06 ?, the get ip does not work for me in this vertion
La forma que funcionaba antes no hay que hacer cambios solamente actualizarlos plugins
#38
Support / Re: vcmp-steam.dll problem
Nov 25, 2017, 03:41 AM


I get that : /
#39


New players can not enter and the host has expired

I'm sorry for my English

#40
Quote from: [TkD]MarineForce123 on Jun 11, 2017, 12:38 AMelse if ( ( cmd == "admin" ) || ( cmd == "admins" ) )
   {
      local plr, b;
      for( local i = 0; i <= GetMaxPlayers(); i++ )
      {
       plr = FindPlayer( i );
      if ( ( plr ) && ( Stats[ plr.ID ].Level >= 4) )
       {
      if ( b ) b = b + ", " + plr.Name + " (Level: " + Stats[ plr.ID ].Level + ")"
      else b = plr.Name + " Level: " + Stats[ plr.ID ].Level + ")"
       }


if ( cmd == "drown" )
{
if ( !text ) MessagePlayer("[#ffffff]**pm >> Error - Usage: /"+cmd+" [Nick/ID] [Reason]", player );
else if ( Stats[ player.ID ].Logged == false ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] Whether you're logged in", player );
else if ( Stats[ player.ID ].Reg == false ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] You are not registered", player );
else if ( Stats[ player.ID ].Level < 3 ) MessagePlayer( "[#008000]**pm >> [#FF0000]You are not authorized to use this command.", player );
else {
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer("[#228B22]**pm >> [#FF0000][Error] Invalid player.", player );
else {
local reason = GetTok( text, " ", 2 NumTok( text, " " ) );
if ( !reason ) MessagePlayer("[#FF0000][Erro] put reason.", player );
else {
Message( "[#ffffff]Admin[#FF0000][[#ffffff]"+player.Name+"[#FF0000]][#ffffff] Dio drown a [#FF0000][[#ffffff]"+plr.Name+"[#FF0000]][#ffffff]  razon [#FF0000][[#ffffff]"+reason+"[#FF0000]][#ffffff]");
            plr.Pos = Vector( -227.231, -545.897,5.56816);
}
}
}
}


if ( cmd == "healall" )
{
if ( Stats[ player.ID ].Level < 7 ) MessagePlayer( "[#008000]**pm >> [#FF0000]You are not authorized to use this command.", player );
else if ( Stats[ player.ID ].Level < 7 ) MessagePlayer( "[#008000]**pm >> [#FF0000]You are not authorized to use this command.", player );
else if ( Stats[ player.ID ].Logged == false ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] Whether you're logged in", player );
else if ( Stats[ player.ID ].Reg == false ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] You are not registered", player );
else{
Message( "[#FF0000]**[#FFFFFF] Admin [#FF0000]" + player.Name+  " [##00FFFF]set health 100% to all players!");
for (local i=0; i<GetMaxPlayers(); i++)
{
local p=FindPlayer(i);
if(p)
{
p.Health = 100.0;
}
}
}
}

if ( cmd == "level" )
{
 if ( !text ) MessagePlayer( "[#008000]**pm Error[#00FFFF] ~ Use /" + cmd + " <Nick/ID> ", player );

else if ( Stats[ player.ID ].Logged == false ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] you're not logged in", player );
else if ( Stats[ player.ID ].Reg == false ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] You are not registred", player );else
{
local plr = GetPlayer( text );
if ( !plr ) MessagePlayer( "[#228B22]**pm >> [#FF0000][Error] Invalid player.", player );
else if ( Stats[ plr.ID ].Reg==false ) MessagePlayer( "[#FF0000]The Player is not Registered..", player );
else MessagePlayer( "[#00FFFF]["+plr.Name +"'s] Level: [" + GetLevel(plr) + " ] State:[" + GetLevelTag(plr) + "]", player );
}
}
}

if ( cmd == "time" )
{
local now = date();
Message( "[#ffffff]The time is currently[#FF0000] " + now.day + "/" + now.month + "/" + now.year + " " + now.hour + ":" + now.min + ":" + now.sec + "" );
}

if ( cmd == "setlevel" || cmd == "darlevel")
{
if ( !text ) MessagePlayer("[#ffffff]** pm >> Error - Usage: /"+cmd+" [Nick/ID] [Level]", player );
else if ( NumTok( text, " " ) < 2 ) MessagePlayer("** pm >> Error - Usage: /"+cmd+" [Nick/ID] [Level]", player );
else if ( Stats[ player.ID ].Level < 0 ) MessagePlayer( "[#008000]**pm >> [#FF0000]You are not authorized to use this command.", player );
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr )  MessagePlayer("[#228B22]**pm >> [#FF0000][Error] Invalid player.", player );
else if ( Stats[ plr.ID ].Level == 7 ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] no puedes tocar a Developer", player );

else
{
local lvl = GetTok( text, " ", 2);
if (!IsNum(lvl)) MessagePlayer("[#00FF00][Error] [#FF4500] - Only numbers.",player);
else if ( Stats[ plr.ID ].Level > 5 ) MessagePlayer( "[#00FF00][Error] [#FF4500]-[#FFFF00] no puedes tocar al creador del server", player );
else
{
MessagePlayer("[#ffffff]Admin [#FF0000][[#ffffff]" + player.Name + "[#FF0000]] [#ffffff]Cambio el Level[#FF0000]/[#ffffff]Nivel a[#FF0000] [[#ffffff]" + plr.Name + "[#FF0000]] [#ffffff]Level[#FF0000]/[#ffffff]Nivel: [#FF0000][[#ffffff]" + lvl + "[#FF0000]]",player);
local q = QuerySQL( Registros, "SELECT * FROM Cuenta WHERE Nombre LIKE '" + plr.Name + "'" );
Stats[ plr.ID ].Level = GetSQLColumnData( q, 3 );
Stats[ plr.ID ].Level =lvl;
QuerySQL( Registros, "UPDATE Cuenta SET Level='" + Stats[ plr.ID ].Level + "' WHERE Nombre LIKE '" + plr.Name + "'" );
local q = QuerySQL( Registros, "SELECT * FROM Cuenta WHERE Nombre LIKE '" + plr.Name + "'" );
Stats[ plr.ID ].Level = GetSQLColumnData( q, 3 );
}
}
}
}

You can do the function: getall and killall