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 - Jutt

#1
waaa yar work kr rha hai good job!
#2
nice buchi ! its work
#3
In In Main.Nut
function onPlayerRequestClass( player, classID, team, skin ){
player.SetAnim(28,228)
AddClass( 1, RGB(125, 200, 11), 0, Vector(-378.342, -581.046, 25.3215), -0.0434318, 19, 9999, 26, 9999, 24, 9999);
AddClass( 2, RGB(255, 159, 246), 108, Vector(117.84, -824.687, 10.4633), 1.01906, 11, 9999, 21, 9999, 28, 9999);
AddClass( 3, RGB(159, 194, 255), 5, Vector(-883.711, -470.827, 13.1101), -1.63093, 18, 9999, 20, 9999, 27, 9999);
AddClass( 4, RGB(255, 101, 101), 94, Vector(-596.978, 650.021, 11.6765), 0.16155, 32, 9999, 34, 9999, 19, 9999);
AddClass( 5, RGB(0, 255, 240), 55, Vector(-568.998, 794.807, 22.8768), 1.62748, 20, 9999, 26, 9999, 23, 9999);
AddClass( 6, RGB(140, 200, 0), 2, Vector(-657.366, 762.206, 11.5999), 2.34252, 20, 9999, 26, 9999, 27, 9999);
Announce("Please choose a team and spawn",player,1);
return 1;
}

In Server.Conf

<Class team="1" skin="0" x="-378.342" y="-581.046" z="25.3215" angle="-0.0434318" weapon1="19" ammo1="999" weapon2="26" ammo2="999" weapon3="24" ammo3="999" r="125" g="200" b="11"/>
<Class team="2" skin="108" x="117.84" y="-824.687" z="10.4633" angle="1.01906" weapon1="11" ammo1="999" weapon2="21" ammo2="999" weapon3="28" ammo3="999" r="255" g="159" b="246"/>
<Class team="3" skin="5" x="-883.711" y="-470.827" z="13.1101" angle="-1.63093" weapon1="18" ammo1="999" weapon2="20" ammo2="999" weapon3="27" ammo3="999" r="159" g="194" b="255"/>
<Class team="4" skin="94" x="-596.978" y="650.021" z="11.6765" angle="0.16155" weapon1="32" ammo1="999" weapon2="34" ammo2="999" weapon3="19" ammo3="999" r="255" g="101" b="101"/>
<Class team="5" skin="55" x="-568.998" y="794.807" z="22.8768" angle="1.62748" weapon1="20" ammo1="999" weapon2="26" ammo2="999" weapon3="23" ammo3="999" r="0" g="255" b="240"/>
<Class team="6" skin="2" x="-657.366" y="762.206" z="11.5999" angle="2.34252" weapon1="20" ammo1="999" weapon2="26" ammo2="999" weapon3="27" ammo3="999" r="140" g="200" b="0"/>
#4
Script Showroom / Timer Messages Announce
Jun 12, 2022, 09:51 AM
function Announces()
{
    if ( GetPlayers() >= 1 )
    {
        local num = Random(1, 12);
       
   
                if ( num == 1 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] WELCOME TO SERVER");
                else if ( num == 2 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] WE WARMLY WELCOME YOU HERE");
                else if ( num == 3 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] DONT ADVERTISE ANY SERVERS THIS INCLUDES LIBERTY UNLEASHED,VCMP,SAMP,IVMP,VMP AND OTHER GAME SERVERS");
                else if ( num == 4 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] LIKE THIS SERVER WHY NOT ADD IT TO FAVOURITES");
                else if ( num == 5 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] CHECK /RULES BEFORE PLAYING");
                else if ( num == 6 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] REGISTER/LOGIN FIRST TO GET STARTED");
                else if ( num == 7 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] CHECK OUT OUR FORUM");
                else if ( num == 8 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] NO BANK KILLING");
                else if ( num == 9 ) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] NO TEAM KILLING");
                else if ( num == 10) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] NO ABUSIVE LANGUAGE");
                else if ( num == 11) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] DONT ASK FOR ADMINSHIP GO APPLY ON FORUM");
                else if ( num == 12) Message("[#FFFFFF][[#FFFF00]INFO[#FFFFFF]] ");
    }
}
#5
Script Showroom / Player Cheat's
Jun 12, 2022, 09:44 AM
if (cmd == "playercheat") {
     Message("[#ffffff]/aspirine, /preciousprotection, /icanttakeitanymore, /youwonttakemealive, /leavemealone");
 }

 else if (cmd == "aspirine") {
     player.Health = 250;
     Announce("Cheat Activate", player, 0);
 }

 else if (cmd == "preciousprotection") {
 player.Armour = 250;
 Announce("Cheat Activate", player, 0);
 }

 else if (cmd == "icanttakeitanymore") {
     player.Health = 0;
     Announce("Cheat activated", player, 0);
 }

 else if (cmd == "youwonttakemealive") {
 player.SetWantedLevel(6);
 Announce("Wanted level cheat", player, 0);
 }

 else if (cmd == "leavemealone") {
 player.SetWantedLevel(0);
 Announce("Wanted level cheat", player, 0);
 }

if (cmd == "weathercheat") {
     Message("[#F96714]/alovelyday, /apleasantday, /abitdrieg, /cantseeathing, /catsanddogs")
 }

 else if (cmd == "alovelyday") {
     SetWeather(4);
     Announce("Weather cheat", player, 0);
 }

 else if (cmd == "apleasantday") {
 SetWeather(1);
 Announce("Weather cheat", player, 0);
 }

 else if (cmd == "abitdrieg") {
     SetWeather(7);
     Announce("Weather cheat", player, 0);
 }

 else if (cmd == "cantseeathing") {
     SetWeather(3);
     Announce("Weather cheat", player, 0);
 }

 else if (cmd == "catsanddogs") {
     SetWeather(2);
     Announce("Weather cheat", player, 0);
 }
#6
Script Showroom / (Ban) System!
Jun 12, 2022, 09:39 AM
function onPlayerJoin( player )
{
NewTimer( "CheckBan", 1000, 1, player.ID );
}


function onScriptLoad(){
{
db <- ConnectSQL( "DataBase.db" );
QuerySQL( db, "CREATE TABLE IF NOT EXISTS SubBans ( Name VARCHAR(32), IP VARCHAR(25), Admin TEXT, Reason TEXT )" );
print(" === Simple Ban System Loaded === ");
}


function CheckBan( user )
{
local player = FindPlayer( user );
 if ( player )
 {
local ip = player.IP;
local sub = split( ip, "." );
local q = QuerySQL( db,  "SELECT * FROM SubBans WHERE IP='" + sub[0].tofloat() + "." + sub[1].tofloat() + "'" );
if ( GetSQLColumnData( q, 0 ) )
 {
Message( ">>> " + player + " Banned From Server <<<");
KickPlayer( player );
return 1;
}
}
}


if ( cmd == "ban" )
        {
     if ( !text ) MessagePlayer( "[Syntax] - /" + cmd + " <Nick/ID> <Reason>", player );
else {
 local plr = GetPlayer( GetTok( text, " ", 1 ) );
    if ( !plr ) MessagePlayer( "[Error] - Unknown Player..", player );
    else {
            local reason = GetTok( text, " ", 2 NumTok( text, " " ) );
            local ip = plr.IP;
            local sub = split( ip, "." );
             if ( reason == null ) reason = "None";
             QuerySQL( db, "INSERT INTO SubBans ( Name, IP, Admin, Reason ) VALUES ( '" + plr.Name + "', '" + sub[0].tofloat() + "." + sub[1].tofloat() + "', '" + player.Name + "', '" + reason + "' )" );
            Message( "[#EE82EE]** Admin " + player.Name + " Banned " + plr.Name + " Reason: " + reason );
    KickPlayer( plr );
    }
    }
 }

else if ( cmd == "unban" )
 {
 local q = QuerySQL( db,  "SELECT * FROM SubBans WHERE Name='" + text + "'" );
     if ( !text ) MessagePlayer( "[Syntax] - /" + cmd + " <Nick Full>", player );
    else if ( GetSQLColumnData( q, 0 ) != text ) MessagePlayer( "[Error] - " + text + " is not Banned.", player );
    else {
    QuerySQL( db, "DELETE FROM SubBans WHERE Name='" + text + "'" );
    Message( "[#EE82EE]** Admin " + player.Name + " UnBanned Player [ [#FFA500]" + text + " [#EE82EE]]." );
 }
 }
}
#7
Script Showroom / Invisible System!
May 03, 2022, 08:45 AM
Add Him Function OnPlayer Commands

  else if ( cmd == "invisible" )
{
// here your admin code!
else if (!text) SYN("/invisible <on/off>",player);
else {
if (text == "on")
{
Message("[#C1CDFF]"+player.Name+" [#459A0E]has turn on invisible mode [#FF4040]ON[#ffffff].");

player.Immunity = 255;
player.SetAlpha(0,255);
player.Color = RGB(127,0,255);
        if(GetShowNametags() == false);
}
if (text == "off")
{
Message("[#C1CDFF]"+player.Name+" [#459A0E]has turn off invisible mode [#FF4040]OFF[#ffffff].");
player.SetAlpha(255,0);
        SetShowNametags(true) ;
}
return 0;
}
}
#8
Thank You Sir!
#9
[noae][noae]======================================================================================

function onPickupPickedUp( player, pickup )
{
    if ( pickup.Model == 508 )
      {
player.Skin = 1;
player.Colour = RGB( 51, 51, 255 );
player.SetWeapon( 19, 70 );
player.SetWeapon( 102, 150 );
player.SetWeapon( 26, 150 );
player.SetWeapon( 100, 999 );
Message( " " + player.Name + " has joined the cop duty" );
}


===================================================================================

else if (cmd == "arrest") {
    if( !text ) MessagePlayer("[#ff0000]Error - /"+cmd+" Name/id", player );
    else if ( (player.Skin == 1) ||  ( player.Skin ==2 ) ) {
        local plr = text != "" ? IsNum( text ) ? FindPlayer( text.tointeger() ) : FindPlayer( text ) : player;
        if( !plr )MessagePlayer("Error - Unknown player", player );
       if (plr.Skin == 126 ) MessagePlayer(" This player is not surrender You can't arrest him ",player);  /// if this cmd is bug so remove this line .///
        else if ( plr.WantedLevel == 1 ) return MessagePlayer( RED+" This Player is Not Wanted",player );
            else if ( DistanceFromPoint( player.Pos.x, player.Pos.y , plr.Pos.x, plr.Pos.y ) < 5 ) {         //DistanceFromPoint( float x1, float y1, float x2, float y2 )
                plr.Pos = Vector(  380.759,-504.493, 9.39562 );
                NewTimer( "arresttime", 30000, 1, plr.ID );
plr.WantedLevel(0);
           
 
                Message( RED+"Cop "+player.Name+GREEN+" has Arrested "+LGREEN+plr.Name );
     MessagePlayer( RED+"You will be released from jail in thirty seconds",plr );
gate2.MoveTo(Vector(384.108, -505.87, 9.65089), 2500 );
               
                }
            else MessagePlayer(""+ plr.Name +" is far away.", player );
            }
            else MessagePlayer( " You need to be a cop",player );
        }

else if (cmd == "unarrest")
{
if ( (player.Skin == 1) ||  ( player.Skin ==2 ) )
{
if( !text ) MessagePlayer(" [#00ff00] Error - /"+cmd+" Name/id", player );
 local plr = text != "" ? IsNum( text ) ? FindPlayer( text.tointeger() ) : FindPlayer( text ) : player;
  if( !plr )MessagePlayer("Error - Unknown player", player );
plr.Pos = Vector(384.157, -506.481, 9.39822); Message(" [#ff0000]VCPD " + player.Name + " Released  " + plr.Name + "  From Jail");
}
else MessagePlayer(" [#00ff00] You need be in cop to use this cmd  ", player);
}

 
else if (cmd == "sus")
{
if ( (player.Skin == 1) ||  ( player.Skin ==2 ) )
{
if( !text ) MessagePlayer(" [#00ff00] Error - /"+cmd+" (Name/id)", player );
 local plr = text != "" ? IsNum( text ) ? FindPlayer( text.tointeger() ) : FindPlayer( text ) : player;
 if( !plr )MessagePlayer("Error - Unknown player", player );
 else if ( DistanceFromPoint( player.Pos.x, player.Pos.y , plr.Pos.x, plr.Pos.y ) < 250 ) {         //DistanceFromPoint( float x1, float y1, float x2, float y2 )
 Message(" [#00ffff] VCPD " + player.Name + " Suspected " + plr.Name + " ");
 Message(" (megaphone) [#0000ff] " + plr.Name + " surrender or we will open fire on you!! ");
 plr.WantedLevel(2);

 }
 else MessagePlayer(""+ plr.Name +" is far away.", player );
 }
 else MessagePlayer(" [#00ff00] You need be in cop to use this cmd  ", player);
}


else if ( cmd == "sur")
{
 player.IsFrozen = true;
 player.SetAnim(0,161);
player.Skin == 126;
Message(" [#0000ff] " + player.Name + " has surrendered at "+GetDistrictName( player.Pos.x, player.Pos.y )+",all cops are requested to arrest him ");
}
[/noae][/noae]
#10
#FreeRaven
#11
Script Showroom / Re: Bank Rob [ By ] Jutt
Oct 09, 2021, 01:27 PM
bank robbery system very easy added!
#12
Add Him [ Commands.nut ]  ========= [][][][] :-\

if ( cmd == "aban" )
        {
     if ( !text ) MessagePlayer( "[#FDF13D][Syntax] - /" + cmd + " <Nick/ID> <Reason>", player );
else {
 local plr = GetPlayer( GetTok( text, " ", 1 ) );
    if ( !plr ) MessagePlayer( "[Error] - Unknown Player..", player );
    else {
            local reason = GetTok( text, " ", 2 NumTok( text, " " ) );
            local ip = plr.IP;
            local sub = split( ip, "." );
             if ( reason == null ) reason = "None";
             QuerySQL( db, "INSERT INTO SubBans ( Name, IP, Admin, Reason ) VALUES ( '" + plr.Name + "', '" + sub[0].tofloat() + "." + sub[1].tofloat() + "', '" + player.Name + "', '" + reason + "' )" );
            Message( "[#FD3D3D]** Admin " + player.Name + " Banned " + plr.Name + " Reason: " + reason );
    KickPlayer( plr );
    }
    }
 }

else if ( cmd == "aunban" )
 {
 local q = QuerySQL( db,  "SELECT * FROM SubBans WHERE Name='" + text + "'" );
     if ( !text ) MessagePlayer( "[Syntax] - /" + cmd + " <Nick Full>", player );
    else if ( GetSQLColumnData( q, 0 ) != text ) MessagePlayer( "[Error] - " + text + " is not Banned.", player );
    else {
    QuerySQL( db, "DELETE FROM SubBans WHERE Name='" + text + "'" );
    Message( "[#3DACFD]** Admin " + player.Name + " UnBanned Player [ [#FFA500]" + text + " [#EE82EE]]." );
 }
 }
}

==== Finish =======
#13
Script Showroom / Bank Rob [ By ] Jutt
Oct 09, 2021, 01:14 PM
The Bank Rob Script By Jutt { ALl Credits By Jutt ]

if ( pickup.Model == 380 )
      {
player.Cash += 100000;
PlaySound( player.UniqueWorld ,470, player.Pos );
Message( " " + player.Name + " has robbed 1000000$ from the bank. all cops are requested to arrest him as soon as possible!!!!!!!!" );
pickup.RespawnTime = 100000;
}


======== Thank You ========
#14
Quote
:D :D :D :D :D Player Class [ :edit: :edit: ] [ By Jutt ] [ Class Credits BY Jutt ]

function onPlayerRequestClass( player, classID, team, skin ){
player.SetAnim(28,228)
     PlaySound( player.UniqueWorld ,482, player.Pos );
     Announce( "~x~Server Name?",player,6);
     Announce( "~r~Welcome to the Server",player,4);
     Announce( "~p~Choose ~y~Your ~b~Player ~r~To ~x~Began! ", player );
   AddClass( 8, RGB( 0,255,255 ) ,0, Vector(-1721.9758, -238.0983, 14.8683 ), 182.1496, 100, 999 ,20, 250, 26, 500 );
   AddClass( 9, RGB( 0,255,255 ) ,200, Vector(-1721.9758, -238.0983, 14.8683 ), 182.1496, 101, 999 ,20, 250, 26, 500 );
   AddClass( 9, RGB( 0,171,255 ) ,201, Vector(100.3145, -1477.8365, 10.4318 ), 219.4836, 104, 999 ,20, 250, 26, 500 );
   AddClass( 10, RGB( 255,255,0 ) ,202, Vector(-534.7047, 781.4671, 97.5104 ), 188.3568, 103, 999 ,21, 250, 26, 500 );
   AddClass( 10, RGB( 255,255,0 ) ,203, Vector(-534.7047, 781.4671, 97.5104 ), 188.3568, 104, 999 ,21, 250, 26, 500 );
   AddClass( 22, RGB( 0,255,0 ) ,204, Vector(471.6854, -1714.7080, 57.2529 ), 39.5577, 105, 999 ,21, 250, 27, 500 );
   AddClass( 22, RGB( 0,255,0 ) ,205, Vector(471.6854, -1714.7080, 57.2529 ), 39.5577, 106, 999 ,21, 250, 27, 500 );
   AddClass( 23, RGB( 75,0,130 ) ,206, Vector(-135.9881, -982.5456, 10.4642 ), 284.8457, 107, 999 ,21, 250, 26, 500 );
   AddClass( 23, RGB( 75,0,130 ) ,207, Vector(-135.9881, -982.5456, 10.4642 ), 284.8457, 108, 999 ,21, 250, 26, 500 );
   AddClass(24, RGB( 144, 189, 255 ),208,Vector(-1145.59, -578.547, 11.6417), 182.1496,25,320,21,320,26,450);
   AddClass(24, RGB( 144, 189, 255 ),209,Vector(-1145.59, -578.547, 11.6417), 182.1496,25,320,21,320,26,450);
   AddClass(25, RGB( 178, 110, 85 ),210,Vector(-886.511, 1053.47, 13.9981), 7.5261,25,320,21,320,26,450);
   AddClass(25, RGB( 178, 110, 85 ),211,Vector(-886.511, 1053.47, 13.9981), 7.5261,25,320,21,320,26,450);
   AddClass(26, RGB( 131, 13, 21 ),212,Vector(-752.384, -1588.1, 18.5661), 186.1276,25,320,21,320,26,450);
   AddClass(26, RGB( 131, 13, 21 ),213,Vector(-752.384, -1588.1, 18.5661), 186.1276,25,320,21,320,26,450);
   AddClass(26, RGB( 131, 13, 21 ),214,Vector(-752.384, -1588.1, 18.5661), 186.1276,25,320,21,320,26,450);
AddClass(0,RGB(119,136,152),1,Vector(-657.076294,762.287720,11.599755),2.281145,0,0,17,272,19,120);
AddClass(0,RGB(119,136,152),2,Vector(509.309021,513.825317,12.103368),3.2463124087,0,0,17,272,25,600);
AddClass(0,RGB(119,136,152),3,Vector(-821.818481,824.249023,11.084617),3.4225906632,0,0,17,272,26,360);
AddClass( 1, RGB( 102, 248, 255 ) ,169, Vector(  -378.452, -580.217, 25.2321 ), 140.021, 17, 999 ,20, 999, 26, 999 );
AddClass( 2, RGB( 25, 112, 188 ) ,123, Vector(  509.121, 513.167, 12.1051 ), 140.023, 13, 4 ,22, 999, 29, 999  );
AddClass( 3, RGB( 255, 127, 36 ) ,6, Vector(  -748.988, 918.692, 11.2321 ), 140.021, 15, 5 ,103, 999, 31, 90 );
AddClass( 4, RGB( 140, 140, 140 ) ,139, Vector( 17.5462, 1145.44, 23.5265 ), 140.026, 19, 999 ,15, 5, 103, 999 );
AddClass( 5, RGB( 186, 147, 92 ) ,120, Vector( -663.642, 755.534, 11.1044 ), 140.022, 25, 999 ,18, 999, 19, 999 );
AddClass( 6, RGB( 186, 147, 92 ) ,99, Vector( -887.391, -705.686, 11.1804 ), 140.024, 18, 999 ,20 999, 27, 999 );
AddClass( 7, RGB( 38, 151, 62 ) ,4, Vector( -1715.6432, -140.0730, 15.2659 ), 140.025, 20, 999 ,17, 999, 32, 999 );
AddClass( 8, RGB( 172, 26, 174 ) ,93, Vector( -599.07, 639.845, 12.2721 ), 140.026, 25, 999 ,6, 1, 21, 999 );
AddClass( 9, RGB( 92, 109, 90 ) ,131, Vector( 391.7230, -477.734, 12.8038 ), 140.026, 0, 1 ,17, 999, 26, 999 );
AddClass( 10, RGB( 255, 252, 41 ) ,134, Vector( -995.081, 200.746, 15.2213 ), 140.026, 26, 999 ,23, 999, 6, 1 );
AddClass( 11, RGB( 68, 20, 20 ) ,129, Vector( -1259.86, 153.319, 26.7563 ), 140.026, 9, 1 ,24, 999, 14, 10 );
AddClass( 12, RGB( 255, 0, 0 ) ,24, Vector( 465.507, -54.5037, 15.7038 ), 140.026, 12, 5 ,23, 999, 28, 999 );
AddClass( 13, RGB( 234, 142, 176 ) ,158, Vector( 81.1478, -1457.23, 11.6068 ), 140.026, 15, 5 ,17, 999, 103, 999 );
AddClass( 14, RGB( 210, 214, 196 ) ,174, Vector( 547.863, -196.404, 13.829 ), 140.026, 4, 1 ,26, 999, 102, 10 );
AddClass( 15, RGB( 206, 23, 191 ) ,138, Vector( 294.416, 285.326, 17.8038 ), 140.026, 27, 999 ,5, 1, 20, 999 );
AddClass( 16, RGB( 210, 218, 147 ) ,202, Vector( -245.679, -323.63, 10.2838 ), 140.026, 20, 999 ,12, 5, 32, 999 );

AddClass(1,RGB(255,141,19),87,Vector(82.608452,1102.561401,25.491445),1.315978256,9,1,22,360,21,128);
AddClass(1,RGB(255,141,19),88,Vector(17.008881,1148.772461,23.527164),3.1538099584,0,0,18,144,27,720);

AddClass(2,RGB(199,21,255),93,Vector(-597.619446,653.861145,11.071777),0.23387411977,1,1,24,600,19,184);
AddClass(2,RGB(199,21,255),94,Vector(-539.271362,696.654358,11.084653),4.3231805572,1,1,24,600,19,184);

AddClass(3,RGB(32,177,170),4,Vector(-1720.858887,-155.850555,14.868327),4.6355944933,5,1,17,272,32,850);

AddClass(4,RGB(255,215,32),97,Vector(-874.322998,-683.454102,11.290915),5.7037359955,0,0,17,272,25,600);
AddClass(4,RGB(255,215,32),104,Vector(-870.946533,-685.190857,11.212971),5.8398716772,0,0,17,272,25,600);

AddClass(5,RGB(220,20,59),14,Vector(-758.352966,-1584.810913,18.566093),5.7944931166,0,0,17,272,20,224);
AddClass(5,RGB(220,20,59),21,Vector(-746.899353,-1589.474365,18.566097),5.9725167003,0,0,18,144,27,720);

AddClass(6,RGB(99,149,236),95,Vector(-410.09433,-585.276733,11.628822),5.6496307887,0,0,23,272,26,360);
AddClass(6,RGB(99,149,236),96,Vector(-379.328278,-593.527954,10.362345),3.275983006,0,0,23,272,31,850);
Announce("Please choose a team and spawn",player,1);
   return 1;
}
#15
iam new here
idk