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.

Topics - =RK=MarineForce
1
Snippet Showroom / Simple Ping System
« on May 28th, 03:04 PM »
onPlayerJoin
Code: [Select]
NewTimer( "pinglimit", 3000, 0, player.ID );
Class:
Code: [Select]
warning
Code: [Select]
function pinglimit(player)
{
local player = FindPlayer(player);
if(player.IsSpawned)
{
if(player.Ping > 400)
{
player.Pos.z += 5;
stats[player.ID].warning++;
MessagePlayer(" " + bazi + " You've been slapped due to having high ping! ",player);
if(stats[player.ID].warning = 1)Message(" " + bazi + " " + player.Name + " WARNED PING LIMIT (1/8) ");
if(stats[player.ID].warning = 2)Message(" " + bazi + " " + player.Name + " WARNED PING LIMIT (2/8) ");
if(stats[player.ID].warning = 3)Message(" " + bazi + " " + player.Name + " WARNED PING LIMIT (3/8) ");
if(stats[player.ID].warning = 4)Message(" " + bazi + " " + player.Name + " WARNED PING LIMIT (4/8) ");
if(stats[player.ID].warning = 5)Message(" " + bazi + " " + player.Name + " WARNED PING LIMIT (5/8) ");
if(stats[player.ID].warning = 6)Message(" " + bazi + " " + player.Name + " WARNED PING LIMIT (6/8) ");
if(stats[player.ID].warning = 7)Message(" " + bazi + " " + player.Name + " WARNED PING LIMIT (7/8) ");
if(stats[player.ID].warning = 8)Message(" " + bazi + " " + player.Name + "  KICKED DUE TO HAVING PING (8/8)");
if(stats[player.ID].warning = 8)KickPlayer(player);
}
}

}

you can freeze player too if him ping high or slap or drown . but this system is good. you can also add fps system just add FPS instead of Ping
3
Off-Topic General / it is possible?
« on April 1st, 12:48 PM »
hey guys i m trying to make a voice chat in vc-mp is it possible?
5
Scripting and Server Management / gettinge error help
« on March 24th, 01:25 PM »
hello i need help

function testo(player)
{
local player=FindPlayer(player);
if(player)
player.IsFrozen = false;
Message("[#FF0000]>> BOMB HAS BEEN PLANTED!");
    myPickup <- CreatePickup( 291, Vector( -1195.89, 108.588, 11.1278 ) );
}

dont know what da fuck problem with this things

function testo(player)
{
local player=FindPlayer(player);
if(player)
}

when i make functions like these its shows me FindPlayer Must be integer or string.
6
Script Showroom / DI System
« on August 26th, 2019, 11:35 PM »

Commands: /packs,/pack,/put,/dpack

Class:
Code: [Select]
pack = false
 pack1 = false;
 pack2 = false;
 pack3 = false;
 pack4 = false;
 pack5 = false;
 pack6 = false;
 pack7 = false;
 w1 = false;
 w2 = false;
 w3 = false;
 w4 = false;
 w5 = false;
 w6 = false;
 w7 = false;


OnPlayerSpawn
Code: [Select]
NewTimer( "spack", 1000, 1, player.ID );


OnPlayerCommands

Code: [Select]
if (cmd == "put")
{
if ( player.Cash < 200 ) MessagePlayer( "[#00de00]Info: [#fbf3f3]Error - You Need Alteast 250$", player );
else if (stats[player.ID].pack) MessagePlayer( "[#00de00]Info: [#fbf3f3]Error - You Already In", player );
else {
stats[player.ID].pack  = true;
player.Disarm()
player.Cash -= 200;
player.IsFrozen = true;
Message("[#00cc00]*** " + player.Name + " Set into Choice");
player.Pos = Vector(-681.544, 1205.18, 11.1089);
 NewTimer( "put", 10000, 1, player.ID );
 }
 }

if (cmd == "packs")
{
MessagePlayer("[#00de00]*** Pack 1: [#00ffff]M4,Pump-Shotgun",player);
MessagePlayer("[#00de00]*** Pack 2: [#00ffff]RPG,Stubby ",player);
MessagePlayer("[#00de00]*** Pack 3: [#00ffff]SniperRifle,molotov ",player);
MessagePlayer("[#00de00]*** Pack 4: [#00ffff]Katana,FlameThrower",player);
MessagePlayer("[#00de00]*** Pack 5: [#00ffff]M60,Stubby",player);
MessagePlayer("[#00de00]*** Pack 6: [#00ffff]Chainsaw,TearGas",player);
MessagePlayer("[#00de00]*** Special Pack 7: [#00ffff]Ruger,Pump-Shotgun,Instagram,Grenade ",player);
MessagePlayer("[#00de00]*** You can also buy some weapons using /wep",player);
}

if( cmd == "pack")
{
if(stats[player.ID].pack == false) MessagePlayer("[#ff0000] You Must Be in Choice ",player);
else if(!text) MessagePlayer("[#00ff00]*** /pack <1,2,3,4,5,6,7> ",player);
else{
if(text == "1")
{
stats[player.ID].pack1 = true;
player.Disarm();
player.SetWeapon(26, 9999);
player.SetWeapon(19, 9999);
MessagePlayer("[#00ffff]** Pack " + text + " has been added into your weapons slots successfully",player);
}

if(text == "2")
{
stats[player.ID].pack2 = true;
player.Disarm();
player.SetWeapon(30, 20);
player.SetWeapon(21, 9999);
MessagePlayer("[#00ffff]** Pack " + text + " has been added into your weapons slots successfully",player);
}

if(text == "3")
{
stats[player.ID].pack3 = true;
player.Disarm();
player.SetWeapon(28, 55);
player.SetWeapon(15, 15);
MessagePlayer("[#00ffff]** Pack " + text + " has been added into your weapons slots successfully",player);
}

if(text == "4")
{
stats[player.ID].pack4 = true;
player.Disarm();
player.SetWeapon(10, 9999);
player.SetWeapon(31, 250);
MessagePlayer("[#00ffff]** Pack " + text + " has been added into your weapons slots successfully",player);
}

if(text == "5")
{
stats[player.ID].pack5 = true;
player.Disarm();
player.SetWeapon(32, 9999);
player.SetWeapon(21, 9999);
MessagePlayer("[#00ffff]** Pack " + text + " has been added into your weapons slots successfully",player);
}

if(text == "6")
{
stats[player.ID].pack6 = true;
player.Disarm();
player.SetWeapon(14, 25);
player.SetWeapon(11, 9999);
MessagePlayer("[#00ffff]** Pack " + text + " has been added into your weapons slots successfully",player);
}
if(text == "7")
{
stats[player.ID].pack7 = true;
player.Disarm();
player.SetWeapon(27, 1500);
player.SetWeapon(19, 1500);
player.SetWeapon(24, 1500);
player.SetWeapon(12, 50);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
}
}

if( cmd == "wep")
{
if(stats[player.ID].pack == false) MessagePlayer("[#ff0000] You Must Be in Choice ",player);
else if(!text) MessagePlayer("[#00ff00]*** /wep <mp5,uzi,insta,stubby,shotgun,colt,phyton> ",player);
else{
if(text == "mp5")
{
stats[player.ID].w1 = true;
player.SetWeapon(25, 1500);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
if(text == "uzi")
{
stats[player.ID].w2 = true;
player.SetWeapon(23, 1500);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
if(text == "insta")
{stats[player.ID].w3 = true;
player.SetWeapon(24, 1500);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
if(text == "stubby")
{stats[player.ID].w4 = true;
player.SetWeapon(21, 1500);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
if(text == "shotgun")
{stats[player.ID].w5 = true;
player.SetWeapon(19, 1500);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
if(text == "colt")
{stats[player.ID].w6 = true;
player.SetWeapon(18, 1500);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
if(text == "phyton")
{stats[player.ID].w7 = true;
player.SetWeapon(17, 1500);
MessagePlayer("[#00ffff]** " + text + " has been added into your weapons slots successfully",player);
}
}
}
else if ( cmd == "dpacks")
{
 stats[player.ID].pack1 = false;
 stats[player.ID].pack2 = false;
 stats[player.ID].pack3 = false;
 stats[player.ID].pack4 = false;
 stats[player.ID].pack5 = false;
 stats[player.ID].pack6 = false;
 stats[player.ID].pack = false
 stats[player.ID].pack7 = false;
 stats[player.ID].w1 = false;
 stats[player.ID].w2 = false;
 stats[player.ID].w3 = false;
 stats[player.ID].w4 = false;
 stats[player.ID].w5 = false;
 stats[player.ID].w6 = false;
 stats[player.ID].w7 = false;
 MessagePlayer("[#00ffff]** All Weapon Packs Disarmed From your weapons slots successfully",player);
 }
 



Functions

Code: [Select]
function put(player)
{
local player = FindPlayer(player);
stats[player.ID].pack = false;
player.IsFrozen = false;
}

function spack(player)
{
local player = FindPlayer(player);
 if(stats[player.ID].pack) MessagePlayer("[#00ffff]** Packs/Weapons has been added into your weapons slots successfully",player);
if(stats[player.ID].pack) MessagePlayer("[#00ffff]** Packs/Weapons To Disarm it using /dpacks ",player);
if(stats[player.ID].pack1 == true)
 {
 player.Disarm();
player.SetWeapon(26, 9999);
player.SetWeapon(19, 9999);
 }
 if(stats[player.ID].pack2 == true)
 {
 player.Disarm();
player.SetWeapon(30, 20);
player.SetWeapon(21, 9999);
 }
 if(stats[player.ID].pack3 == true)

 {
 player.Disarm();
player.SetWeapon(28, 55);
player.SetWeapon(15, 15);
 }
 if(stats[player.ID].pack4 == true)
 {
 player.Disarm();
player.SetWeapon(10, 9999);
player.SetWeapon(31, 250);
 }
 if(stats[player.ID].pack5 == true)
 {
 player.Disarm();
player.SetWeapon(32, 9999);
player.SetWeapon(21, 9999);
 }
 if(stats[player.ID].pack6 == true)
 {
 player.Disarm();
player.SetWeapon(14, 25);
player.SetWeapon(11, 9999);
 }
 if(stats[player.ID].pack7 == true)
 {
 player.Disarm();
player.SetWeapon(27, 1500);
player.SetWeapon(19, 1500);
player.SetWeapon(24, 1500);
player.SetWeapon(12, 50);
 }
 if(stats[player.ID].w1 == true)
 {
 player.SetWeapon(25, 1500);
 }
  if(stats[player.ID].w2 == true)
 {
 player.SetWeapon(23, 1500);
 }
  if(stats[player.ID].w3 == true)
 {
 player.SetWeapon(24, 1500);
 }
  if(stats[player.ID].w4 == true)
 {
 player.SetWeapon(21, 1500);
 }
  if(stats[player.ID].w5 == true)
 {
 player.SetWeapon(19, 1500);
 }
  if(stats[player.ID].w6 == true)
 {
 player.SetWeapon(18, 1500);
 }
  if(stats[player.ID].w7 == true)
 {
 player.SetWeapon(17, 1500);
 }
 }
7
Scripting and Server Management / Justice Help! Please
« on July 24th, 2019, 06:49 PM »
i added my server files in to a vps it works but 1 problem
its does not loading main.nut
sqgamemode scripts/main.nut
Could not load script 'script/main.nut' cannot open the file NO Squirrel Mode was specified error
8
Script and Content Requests / Pickup Sounds?
« on May 17th, 2019, 04:13 PM »
Hey? How can i find those pickup sounds: Gun Pickup, Health Pickup, and armour

i didn't know where can i find this but i see those things in gta vc filse.. but in this gta i didn't find..
9
Script and Content Requests / help
« on May 9th, 2019, 09:55 AM »
Hi Guyz my english is bad... i want learn Squirrel some one help me plz.

i will learn it in a month?

DiscorD: https://discord.gg/kqH9DrB
10
Videos & Screenshots / Vc-mp Is Live!!
« on May 9th, 2019, 09:08 AM »
Hello guyz i m starting VC-MP LIVE STREAMING AND BIGS EVENTS AS SOON !! KEEP READY FOR THAT EVERYDAY!
YOUTUBE: MarineForce Black Squad
Discord: https://discord.gg/jdPTBXT


If i reach 1k subs i donate stormeus 100$ from my yt channel
Donate Stormeus for more updates
11
Script and Content Requests / hi back
« on May 6th, 2019, 01:04 PM »
Function On Player Fire:

Or

Function On Player Fire Stops:

can u gib me those functions?
12
Script and Content Requests / Hello Guyz can some one teach me ?
« on September 21st, 2018, 11:42 AM »
how can i make register and login system? with database?
13
Snippet Showroom / Flag System
« on September 21st, 2018, 09:42 AM »
Updating
You can change Everything, what u wish. :P
Sorry i can't make when player move on Pickup of Flag it will failed to stole it.

Code: [Select]
class PlayerStats
{
flag = false;
}

Code: [Select]
cflag <- null;
hflag <- null;


Code: [Select]
function onScriptLoad()
{
cflag<- CreatePickup(283, Vector( -1187.42, 102.232, 11.1281 ));
hflag<- CreatePickup(382, Vector( -1196.04, 107.397, 11.1279));
Stats <- array(GetMaxPlayers(), null);
print(" Flag System has Been Loaded by Stuko, MarineForce ");
}

Code: [Select]
function onPlayerJoin( player )
{
Stats[player.ID] = PlayerStats();
}


Code: [Select]
function onPlayerSpawn( player )
{
Stats[player.ID].flag = false;
MessagePlayer(" [#FFFF00] Stats Flag: " + Stats[player.ID].flag + " ",player);
}


Code: [Select]
function onPlayerDeath( player, reason )
{
NewTimer( "death", 10, 1, player.ID );
}


Code: [Select]
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "flagstats" )
{
if ( Stats[player.ID].flag ) MessagePlayer(" You are At Flag Status ",player);
if ( !Stats[player.ID].flag ) MessagePlayer(" You are Not At Flag Status ",player);
}


if ( cmd == "flag" )
{
if ( text == "on" ){
Stats[player.ID].flag = true;
}
if ( text == "off" ){
Stats[player.ID].flag = false;
}
}


Code: [Select]
function onPickupPickedUp( player, pickup )
 {
if( pickup.Model == 382 )
{
 if(player.Team == 2 ) MessagePlayer(" [#0000ff] You can't Stole Your own Flag ",player);
 else{
 NewTimer( "ann1", 1000, 1, player.ID );
  NewTimer( "ann2", 2000, 1, player.ID );
   NewTimer( "ann3", 3000, 1, player.ID );
 NewTimer( "flags", 4000, 1, player.ID );
 }
 }
 if( pickup.Model == 383 )
 {
 if(player.Team == 1 ) MessagePlayer(" [#FFFF00] You can't Stole Your own Flag ",player);
 else{
 NewTimer( "ann1", 1000, 1, player.ID );
  NewTimer( "ann2", 2000, 1, player.ID );
   NewTimer( "ann3", 3000, 1, player.ID );
 NewTimer( "flags", 4000, 1, player.ID );
  }
  }
if( pickup.Model == 343 )
 {
 NewTimer( "storeflag", 1000, 1, player.ID );
 player.PlaySound( 50009 );
  }
}



Code: [Select]
function flags(p)
{
    local player = FindPlayer(p);
    if(player)
    {
        if ( player.Team == 1 )
        {
            Message(" [#0000FF] " + player.Name + " Stole The Haitian Flag ");
            cflag.Remove();
Stats[player.ID].flag = true;
        }

        if ( player.Team == 2 )
        {
            Message(" [#0000FF] " + player.Name + " Stole The Cuban Flag ");
   hflag.Remove();
   Stats[player.ID].flag = true;
        }

    }
}

Code: [Select]
function storeflag(p)
{
    local player = FindPlayer(p);
    if(player)
    {

        if ( player.Team == 1 )
        {
  if ( Stats[player.ID].flag == false ) MessagePlayer(" [#FFFF00] Go Stole The Haitian Flag ",player);
  else{
           Message("[#FFFF00] [Cuban Team] " + player.Name + " Store The Flag +5 ");
           CreatePickup(383, Vector( -1163.68, -620.189, 11.8277 ));
   Stats[player.ID].flag = false;
   Cuban_Team_Score += 5;
   
        }
}
        if ( player.Team == 2 )
        { 
    if ( Stats[player.ID].flag == false ) MessagePlayer(" [#FFFF00] Go Stole The Haitian Flag ",player);
else{
            Message("[#0000FF][Haitian Team] " + player.Name + " Store The Flag +5 ");
            CreatePickup(382, Vector( -1195.69, 106.684, 11.1279));
Stats[player.ID].flag = false;
Haitian_Team_Score += 5;
}
}
    }
}


Code: [Select]
function ann1(p)
{
    local player = FindPlayer(p);
    if(player)
{
Announce( " ~r~-1-", player, 1 );
player.PlaySound( 50009 );
}
}
function ann2(p)
{
local player = FindPlayer(p);
    if(player)
    {
Announce( "~o~-2-", player, 1 );
player.PlaySound( 50009 );
}
}
function ann3(p)
{
local player = FindPlayer(p);
    if(player)
    {
Announce( "~g~-3-", player, 1 );
player.PlaySound( 50009 );
}
}

[code]function death(p)
{
    local player = FindPlayer(p);
    if(player)
    {

        if ( player.Team == 1 )
        {
  if ( Stats[player.ID].flag == true ) Message("[#FFFF00] " + player.Name + " Has Been Killed Cuban Flag Has been Covered.");
  else{
   cflag.Remove();
           CreatePickup(383, Vector( -1163.68, -620.189, 11.8277 ));
   Stats[player.ID].flag = false;
        }
}
        if ( player.Team == 2 )
        { 
     if ( Stats[player.ID].flag == true ) Message("[#FFFF00] " + player.Name + " Has Been Killed Cuban Flag Has been Covered.");
  else{
   cflag.Remove();
           CreatePickup(383, Vector( -1163.68, -620.189, 11.8277 ));
   Stats[player.ID].flag = false;
}
}
    }

}


All in One
Code: [Select]
class PlayerStats
{
flag = false;
}

cflag <- null;
hflag <- null;

function onScriptLoad()
{
cflag<- CreatePickup(283, Vector( -1187.42, 102.232, 11.1281 ));
hflag<- CreatePickup(382, Vector( -1196.04, 107.397, 11.1279));
Stats <- array(GetMaxPlayers(), null);
print(" Flag System has Been Loaded by Stuko, MarineForce ");
}

function onPlayerJoin( player )
{
Stats[player.ID] = PlayerStats();
}


function onPlayerSpawn( player )
{
Stats[player.ID].flag = false;
MessagePlayer(" [#FFFF00] Stats Flag: " + Stats[player.ID].flag + " ",player);
}


function onPlayerDeath( player, reason )
{
NewTimer( "death", 10, 1, player.ID );
}

function onPlayerCommand( player, cmd, text )
{
if ( cmd == "flagstats" )
{
if ( Stats[player.ID].flag ) MessagePlayer(" You are At Flag Status ",player);
if ( !Stats[player.ID].flag ) MessagePlayer(" You are Not At Flag Status ",player);
}


if ( cmd == "flag" )
{
if ( text == "on" ){
Stats[player.ID].flag = true;
}
if ( text == "off" ){
Stats[player.ID].flag = false;
}
}

function onPickupPickedUp( player, pickup )
 {
if( pickup.Model == 382 )
{
 if(player.Team == 2 ) MessagePlayer(" [#0000ff] You can't Stole Your own Flag ",player);
 else{
 NewTimer( "ann1", 1000, 1, player.ID );
  NewTimer( "ann2", 2000, 1, player.ID );
   NewTimer( "ann3", 3000, 1, player.ID );
 NewTimer( "flags", 4000, 1, player.ID );
 }
 }
 if( pickup.Model == 383 )
 {
 if(player.Team == 1 ) MessagePlayer(" [#FFFF00] You can't Stole Your own Flag ",player);
 else{
 NewTimer( "ann1", 1000, 1, player.ID );
  NewTimer( "ann2", 2000, 1, player.ID );
   NewTimer( "ann3", 3000, 1, player.ID );
 NewTimer( "flags", 4000, 1, player.ID );
  }
  }
if( pickup.Model == 343 )
 {
 NewTimer( "storeflag", 1000, 1, player.ID );
 player.PlaySound( 50009 );
  }
}



function flags(p)
{
    local player = FindPlayer(p);
    if(player)
    {
        if ( player.Team == 1 )
        {
            Message(" [#0000FF] " + player.Name + " Stole The Haitian Flag ");
            cflag.Remove();
Stats[player.ID].flag = true;
        }

        if ( player.Team == 2 )
        {
            Message(" [#0000FF] " + player.Name + " Stole The Cuban Flag ");
   hflag.Remove();
   Stats[player.ID].flag = true;
        }

    }
}
function storeflag(p)
{
    local player = FindPlayer(p);
    if(player)
    {

        if ( player.Team == 1 )
        {
  if ( Stats[player.ID].flag == false ) MessagePlayer(" [#FFFF00] Go Stole The Haitian Flag ",player);
  else{
           Message("[#FFFF00] [Cuban Team] " + player.Name + " Store The Flag +5 ");
           CreatePickup(383, Vector( -1163.68, -620.189, 11.8277 ));
   Stats[player.ID].flag = false;
   Cuban_Team_Score += 5;
   
        }
}
        if ( player.Team == 2 )
        { 
    if ( Stats[player.ID].flag == false ) MessagePlayer(" [#FFFF00] Go Stole The Haitian Flag ",player);
else{
            Message("[#0000FF][Haitian Team] " + player.Name + " Store The Flag +5 ");
            CreatePickup(382, Vector( -1195.69, 106.684, 11.1279));
Stats[player.ID].flag = false;
Haitian_Team_Score += 5;
}
}
    }
}


function ann1(p)
{
    local player = FindPlayer(p);
    if(player)
{
Announce( " ~r~-1-", player, 1 );
player.PlaySound( 50009 );
}
}
function ann2(p)
{
local player = FindPlayer(p);
    if(player)
    {
Announce( "~o~-2-", player, 1 );
player.PlaySound( 50009 );
}
}
function ann3(p)
{
local player = FindPlayer(p);
    if(player)
    {
Announce( "~g~-3-", player, 1 );
player.PlaySound( 50009 );
}
}

function death(p)
{
    local player = FindPlayer(p);
    if(player)
    {

        if ( player.Team == 1 )
        {
  if ( Stats[player.ID].flag == true ) Message("[#FFFF00] " + player.Name + " Has Been Killed Cuban Flag Has been Covered.");
  else{
   cflag.Remove();
           CreatePickup(383, Vector( -1163.68, -620.189, 11.8277 ));
   Stats[player.ID].flag = false;
        }
}
        if ( player.Team == 2 )
        { 
     if ( Stats[player.ID].flag == true ) Message("[#FFFF00] " + player.Name + " Has Been Killed Cuban Flag Has been Covered.");
  else{
   cflag.Remove();
           CreatePickup(383, Vector( -1163.68, -620.189, 11.8277 ));
   Stats[player.ID].flag = false;
}
}
    }

}


Download Sound: https://files.fm/u/68gr23ex

Can Some One Plese Make Custom flags for me :(
14
Snippet Showroom / player ranks
« on September 15th, 2018, 06:47 PM »
Code: [Select]
local ranks = "Member Pro Unstopable GodLike GodFather"

Code: [Select]
function onPlayerKill( player, killer, reason, bodypart )
{
if ( plr.kills < 10 ) MessagePlayer(" " + plr.Name + " Rank  Newbie ",player);
if ( player.kills = 30 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 50 ) Announce( "~q~ Rank Pro", plr, 5 );
if ( player.kills = 100 ) Announce( "~q~ Rank Unstopable", plr, 5 );
if ( player.kills = 200 ) Announce( "~q~ Rank GodLIKE", plr, 5 );
if ( player.kills = 250 ) Announce( "~q~ Rank GodFather", plr, 5 );
}

Code: [Select]
function onPlayerJoin( player )
{
if ( player.kills < 10 ) MessagePlayer(" " + plr.Name + " Rank  Newbie ",player);
if ( player.kills = 30 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 50 ) Announce( "~q~ Rank Pro", plr, 5 );
if ( player.kills = 100 ) Announce( "~q~ Rank Unstopable", plr, 5 );
if ( player.kills = 200 ) Announce( "~q~ Rank GodLIKE", plr, 5 );
if ( player.kills = 250 ) Announce( "~q~ Rank GodFather", plr, 5 );
}

Code: [Select]
function onPlayerCommand( player, cmd, text )
{
else if ( cmd == "rank" )
{
local plr = FindPlayer(text);
if(text) MessagePlayer(" /rank <NICK> ",player);
if(!plr) MessagePlayer(" text + " not online ",player);
else{
if ( plr.kills < 10 ) MessagePlayer(" " + plr.Name + " Rank  Newbie ",player);
if ( plr.kills < 30 ) MessagePlayer(" " + plr.Name + " Rank  Member ",player);
if ( plr.kills  < 50 ) MessagePlayer(" " + plr.Name + " Rank  PRO ",player);
if ( plr.kills < 100 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills < 200 ) MessagePlayer(" " + plr.Name + " Rank  GOD Father ",player);
if ( plr.kills < 250 ) MessagePlayer(" " + plr.Name + " Rank  GOD LIKE  ",player);
}
}
}


Code: [Select]
else if ( cmd == "rank" )
{
local plr = FindPlayer(text);
if(!plr) MessagePlayer(" text + " not online ",player);
else{
if ( plr.kills < 10 ) MessagePlayer(" " + plr.Name + " Rank  Newbie ",player);
if ( plr.kills = 30 ) MessagePlayer(" " + plr.Name + " Rank  Member ",player);
if ( player.kills = 30 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 31 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 32 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 33 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 34 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 35 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 36 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 37 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 30 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 50 ) Announce( "~q~ Rank Pro", plr, 5 );
if ( player.kills = 38 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 39 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 40 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 41 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 42 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 43 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 44 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 45 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 46 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 47 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 48 ) Announce( "~q~ Rank Member", plr, 5 );
if ( player.kills = 49 ) Announce( "~q~ Rank Member", plr, 5 );
if ( plr.kills = 50 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 51 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 52 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 53 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 54 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 55 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 56 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 57 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 58 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 59 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 60 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 61 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 62 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 63 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 64 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 65 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 66 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 67 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 68 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 69 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 70 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 71 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 72 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 73 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 74 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 75 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 76 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 77 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 78 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 79 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 80 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 81 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 82 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 83 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 84 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 85 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 86 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 87 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 88 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 89 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 90 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 91 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 92 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 93 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 94 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 95 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 96 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 97 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 98 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 99 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 100 ) MessagePlayer(" " + plr.Name + " Rank Unstopable ",player);
if ( plr.kills = 101 ) MessagePlayer(" " + plr.Name + " Rank Unstopable",player);
if ( plr.kills = 102 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 103 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 104 ) MessagePlayer(" " + plr.Name + " Rank Unstopable",player);
if ( plr.kills = 105 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 106 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable",player);
if ( plr.kills = 107 ) MessagePlayer(" " + plr.Name + " Rank Unstopable",player);
if ( plr.kills = 108 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable",player);
if ( plr.kills = 109 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 111 ) MessagePlayer(" " + plr.Name + " Rank P Unstopable ",player);
if ( plr.kills = 112 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 113 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 114 ) MessagePlayer(" " + plr.Name + " Rank Unstopable",player);
if ( plr.kills = 115 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable",player);
if ( plr.kills = 116 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 117 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 118 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable",player);
if ( plr.kills = 119 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 121 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 122 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 123 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 124 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable",player);
if ( plr.kills = 125 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 126 ) MessagePlayer(" " + plr.Name + " Rank  Unstopable ",player);
if ( plr.kills = 127 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 128 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 129 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 130 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 131 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 132 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 133 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 134 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 135 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 136 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 137 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 138 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 139 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 141 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 142 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 143 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 144 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 145 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 146 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 147 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 148 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 149 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 150 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 151 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 152 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 153 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 154 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 155 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 156 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 157 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 158 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 159 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 160 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 161 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 162 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 163 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 164 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 165 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 166 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 167 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 168 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 169 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 170 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 171 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 172 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 173 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 174 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 175 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 176 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 177 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 178 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 179 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 180 ) MessagePlayer(" " + plr.Name + " Rank Pro ",player);
if ( plr.kills = 200 ) MessagePlayer(" " + plr.Name + " Rank GodLike",player);
}
}


15
Scripting and Server Management / socket failed hmmm helppp
« on September 14th, 2018, 11:38 AM »
Annoucer: Failed to annouce to master.vc-mp.org; socket failed to connect to host (0)

hmmm i think its problem in host ?

Give me 0.6 Plugins where can find it?  :P