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 - FinchDon
16
Scripting and Server Management / Staff System
« on September 6th, 2015, 03:56 AM »
Well I am tired to go in Database again and again so i want Can i make admin command which can do like this

adminlist then in account table if player lvl is above from 2 he show in adminlist command


Note( I am using Fuzzie Account System )
17
Scripting and Server Management / SetLevel
« on September 5th, 2015, 05:12 PM »
Hello This is My Setlevel command it show msg lvl setted but not set i am using fuzzie account system


Code: [Select]
else if ( cmd == "setlevel" )
{
     if ( pstats[ player.ID ].Level < 10 ) MessagePlayer( "[#FF0000]You need to be atleast Level 10", player );
else if ( !text ) ePrivMessage( "Syntax, / " + cmd + " <Nick/ID> <Level> ", player );
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) ePrivMessage( "Unknown Player..", player );
else
{
   local lvl = GetTok( text, " ", 2);
   if (!IsNum(lvl)) ePrivMessage("Level Must Be In Numbers..",player);
   else
   {
   ePrivMessage(" Admin " + player.Name + " Set Level To " + plr.Name + ", Level: " + lvl + ".",player);
   QuerySQL(sqliteDB,"UPDATE Accounts SET Level='" + lvl + "' WHERE Name='" + plr.Name + "'");
                   EchoMessage( ICOL_RED + "Admin " + player.Name + " Set Level To " + plr.Name + ", Level: " + lvl + "." );
   }
}
}
}
18
Scripting and Server Management / Doom_Killer Clanstats
« on September 2nd, 2015, 05:13 PM »
Hello I was adding clan stats to my server by @Doom_ Killer Sir But i Faced an Error
When Player Join The script get bugged and show error on console

AN ERROR HAS OCCURED [ THE INDEX 'REGEXP' DOES NOT EXIST ]
CALLSTACK
FUNCTION [FINDCLANTAG] script/main.nut line [324]
FUNCTION [ONPLAYERJOIN] script/main.nut [224]

Lines

Code: [Select]
function FindClanTag(strPlayer)
{
    HERE >>>>>>   local
                D_DELIM = REGEXP(@"([\[(=^<]+\w+[\])=^>]+)").capture(strPlayer),
                S_DELIM = REGEXP(@"(\w.+[*=]+)").capture(strPlayer);
 
        if ( D_DELIM != NULL )
        {
                 return strPlayer.slice( D_DELIM[ 0 ].BEGIN, D_DELIM[ 0 ].END );
        }
        else if ( S_DELIM != NULL )
        {
               return strPlayer.slice( S_DELIM[ 0 ].BEGIN, S_DELIM[ 0 ].END );
        }
}

AND on Player Join
 local tag = FindClanTag( player.Name );

19
Scripting and Server Management / igdumd32.dll
« on August 29th, 2015, 03:40 PM »
Hello as i name the topic is module

i wanna know when this module occur and what it do

igdumd32.dll

because it happen more than 10 time my vc crash and give fault module name igdumd32.dll
20
Off-Topic General / Vice City Crash
« on August 29th, 2015, 12:06 PM »
Hey My Old Problem was fixed now my problem is coming in any place after 15 or 20 mins game get crash of vice city not ( VCMP ) then i check crash info there was fault model name

igdumd32.dll


What is Problem?
21
Off-Topic General / Vice City
« on August 24th, 2015, 03:00 AM »
Hello friends i am working on my vice city new particles cars etc but i wanna knnow how i create a mission i know there is builder called ViceBuilder which create mission but i dont know hpw can anyone tell me?
22
Scripting and Server Management / HP ADDon
« on August 20th, 2015, 04:35 PM »
I saw Ksna Random Cash system i so made like that but didn't work :-\

There is Code

Code: [Select]
randhp <- [ 10, 20, 25, 30, 35, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100 ];

Code: [Select]
function onPlayerKill( killer, player, weapon, reason )
{
   local a = randhp[rand()% randhp.len()]
   killer.Health + a ;
   ePrivMessage( "Health Add on " + a + ".", killer );
}
23
Scripting and Server Management / 1 hour = 100000
« on August 17th, 2015, 03:52 PM »
Guyz i m updating my script so thoughout one update but don't know how to make it work able that when playerjoin then player playing 1 hour in server he get 100000 where i add timer for player?
24
Snippet Showroom / Give heal Command
« on August 15th, 2015, 04:10 PM »
Hello Friends Whasup? I am going to share Give heal Command With you guyz

What is in it? : It will able every friend to heal his friend for only 250$

Here is the code

Code: [Select]
else if ( cmd == "giveheal" )
{
if ( !text ) PrivMessage( player, "Use /giveheal <Nick/ID>" );
     local plr = FindPlayer( GetTok( text, " ", 1 ) );
     if ( !plr ) PrivMessage( player, "Unknown Player.." );
     else if ( plr.Health == 100 ) PrivMessage( player, " " + plr.Name + " Dont need to be healed" );
else if ( player.Cash < 250 ) PrivMessage( player, "You need $250 to heal " + plr.Name + "." );
else {
      plr.Health = 100;
PrivMessage( plr, "Healed by " + player.Name + "." );
Message( " " + player.Name + " has healed " + plr.Name + "." );
player.Cash -= 250;
      }
}
function GetTok(string, separator, n, ...)
{
    local m = vargv.len() > 0 ? vargv[0] : n,
          tokenized = split(string, separator),
          text = "";
   
    if (n > tokenized.len() || n < 1) return null;
    for (; n <= m; n++)
    {
        text += text == "" ? tokenized[n-1] : separator + tokenized[n-1];
    }
    return text;
}
 
function NumTok(string, separator)
{
    local tokenized = split(string, separator);
    return tokenized.len();
    local s = split(string, separator);
    return s.len();
}


Share, Enjoy

Updated :)
25
Clans and Families / [VP] Vice Phantoms
« on August 14th, 2015, 07:17 AM »
Homepage: http://vss-clan.ml/
Country: International
Clan tags: [VP] [VP_T] [VP_R]
IRC Channel: #vp-clan on LUnet



Full Member


FinchDon




Rookie


Trainee

Wolf
Dragon

Note Only Pro Player in Fighting can apply



[VP]
26
General Discussion / Bye
« on August 6th, 2015, 03:52 PM »
Hello Sorry But I know you all are angry on me but i am now permanently leaving vcmp no new nicks Pietersen, PyschoKiller, Shawn Bye I will play game without multiplayer thanks to guys who was my friends :'(