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

#31
Support / Re: Immunity
Aug 27, 2015, 07:17 PM
Quote from: StormeusBinary  | Hex  | Dec | Field
---------------------------------------
0b00001 | 0x1  |  1  | bulletproof
0b00010 | 0x2  |  2  | fireproof
0b00100 | 0x4  |  4  | explosion-proof
0b01000 | 0x8  |  8  | collision-proof
0b10000 | 0x10 |  16 | melee-proof


0 means no immunity to any damage, 31 means immunity to all damage. You can add all the numbers together or use bitwise OR/AND to toggle flags.
Just searching forum can solve almost many problems

Quote from: Xmair on Aug 27, 2015, 10:49 AMWiki source updated.
By me, Here
Maybe its more understandable now?
#32
Support / Problem with Screenshots!!
Aug 27, 2015, 12:21 PM
The Screenshots are appearing blank like this from somedays.


I did a clean installation of VC and VC:MP today, but its still same :/
#33
Quote from: KAKAN on Aug 22, 2015, 12:52 AMHmm i have used else if ( cmd =="This" || cmd == "we" )
So it will work in this syntax also right?
else if ( cmd == "wep" || "we")
else if ( ( cmd == "wep" ) || ( cmd == "we" ) )
#34
So my code is in alien language? I just gave example how to do that
#35
Try
function onPlayerJoin( player )
{
playerson.push(player.Name);
}

function onPlayerPart( player, reason )
{
if(playerson.find(player.Name)!=null )
  {
    local idx = playerson.find(player.Name);
    playerson.remove(idx);
  }
}
#36
Quote from: Thijn on Aug 21, 2015, 07:35 PMDid you test that script? Because I can tell you didn't.
How can you say so? ._.


#37
Bindkey is just good

function onScriptLoad()
{
    WINL <- BindKey(true, 0x5B,0,0);
    WINR <- BindKey(true, 0x5C,0,0);
}

function onKeyDown(player,key)
{
    if(key== WINL || WINR)
    {
      KickPlayer(player);
    }
}
#38
Quote from: Doom_Killer on Aug 20, 2015, 09:35 AMNothing beats Notepad++
As I said, everyone have their own choice.
#39
You can use notepad or wordpad too. Well everyone have their own choice for text editor, like I use Atom
#40
Snippet Showroom / Re: Give heal Command
Aug 15, 2015, 03:41 PM
So, suppose you are going to use this in a DM server, a player is fighting with someone and his friend will heal him constantly. Better make it a command for admins and remove cash thing.
if ( cmd == "giveheal" )
{
  if ( !text ) PrivMessage( player, "Use /giveheal <Nick/ID>" );
     local plr = GetPlayer( GetTok( text, " ", 1 ) );
     if ( !plr ) PrivMessage( player, "Unknown Player.." );
     else if ( plr.Health == 100 ) PrivMessage( player, " " + plr.Name + " Dont need to be healed" );
else {
plr.Health = 100;
PrivMessage( plr, "Healed by " + player.Name + "." );
Message( " " + player.Name + " has healed " + plr.Name + "." );
  }
}

function GetPlayer( plr )
{
    if ( plr )
    {
        if ( IsNum( plr ) )
        {
            plr = FindPlayer( plr.tointeger() );
            if ( plr ) return plr;
            else return false;
        }
    else
        {     
            plr = FindPlayer( plr );
            if ( plr ) return plr;
            else return false;
        }
    }
    else return false;
}

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;
}
#41
Scripting and Server Management / Re: away
Aug 12, 2015, 03:54 PM
There is no /back command. Its /away <reason> to mark you away and /away to unmark you as away.
PS: Its of mirc and I don't know about other clients
#42
When you are using someone's hard work of collecting locs, You should give the credits
nvm, nice that you changed to spheres. I too hate the pickups, but got not time to convert the script
#43
Good to see people implementing new things. Nice work!!
#44
Reinstall the client.
#45
Servers / Re: Fast & Furious MultiGame Mode
Aug 02, 2015, 10:47 AM
Quote from: Doom_Killer on Aug 02, 2015, 10:24 AMWithout spamming this server's topic more, @soulshaker, I would like you to pm me example servers then.
eh! I don't have so much free time to check those servers again and type a pm. And also waat spam? If describing opinion about something is known as spam, then yey Welcome to OFFICIAL VC:MP FORUM