[FilterScript] DBind System - Key Binder
#1

DBind



Pastebin : http://pastebin.com/vRmTy8yy

*******: [ame]http://www.youtube.com/watch?v=lamiELMGTSk[/ame]

How to Create Command?



1.Find Function:
HTML Code:
new Commands[][] =
{
      "{FF0000}Unbind",
      "{04C731}Zinute",
      "{04C731}GautiHP",
      "{04C731}GautiArmor"
};
And Add which you want Like : Teleportas

It should look like
HTML Code:
new Commands[][] =
{
      "{FF0000}Unbind",
      "{04C731}Zinute",
      "{04C731}GautiHP",
      "{04C731}GautiArmor",
      "{04C731}Teleportas"
};
{04C731} - Green Color

{FF0000} - Red Color



2. Find Stocks. Last One is
HTML Code:
stock GautiArmor(playerid)
{
    SetPlayerArmour(playerid,100.0);
    SendClientMessage(playerid,123456,"Gavote 100 ARMOUR");
}
Under it we add this:
HTML Code:
stock Teleportas(playerid)
{
    SetPlayerPos(Playerid,x,y,z); // pasikeiskite x,y,z i savo kordinates
}

3.Find Fuction:
HTML Code:
stock ZaidejoKomandos(playerid,key,key1[40])
{
    switch(pKey[playerid][key])
    {
        case 0: key1 = "{FF0000} NEPASIRINKTA";
        case 1: key1 = "{04C731}Zinute";
        case 2: key1 = "{04C731}GautiHP";
        case 3: key1 = "{04C731}GautiArmor";
    }
    return key1;
}
and replace with:
HTML Code:
stock ZaidejoKomandos(playerid,key,key1[40])
{
    switch(pKey[playerid][key])
    {
        case 0: key1 = "{FF0000} NEPASIRINKTA";
        case 1: key1 = "{04C731}Zinute";
        case 2: key1 = "{04C731}GautiHP";
        case 3: key1 = "{04C731}GautiArmor";
        case 4: key1 = "{04C731}Teleportas";
    }
    return key1;
}
4. Find
HTML Code:
stock CommandUse(playerid,key)
{
    switch(pKey[playerid][key])
    {
        case 1: Zinute(playerid);
        case 2: GautiHP(playerid);
        case 3: GautiArmor(playerid);
    }
}
Replace with
HTML Code:
stock CommandUse(playerid,key)
{
    switch(pKey[playerid][key])
    {
        case 1: Zinute(playerid);
        case 2: GautiHP(playerid);
        case 3: GautiArmor(playerid);
        case 4: Teleportas(playerid);
    }
}

5. Create "Bind" Folder in you scriptfiles folder



Thanks Subscribe and Like. I`m waiting Comments )
Reply
#2

Dini's outdated, why not update to ZCMD/YCMD/etc..? Good job though, unique FS.
Reply
#3

Mysql will be in v2 version just wait 1 week . Thanks.
Reply
#4

Interesting technique. I greatly appreciate it. Whatever it's. Congratulations on your efforts.

#March
Reply
#5

THanks
Reply
#6

Good job bro!
Reply
#7

Thanks )
Reply
#8

Good
Reply
#9

Thanks
Reply
#10

Wow Good Jop 10/10 You Are The Best
Reply
#11

Really? Thanks
Reply
#12

Up
Reply
#13

Really, nice work, useful for Cops and Robbers servers to bind cuff maybe. REP+
Reply
#14

Thanks ;]
Reply
#15

I like it good +REP
Reply
#16

Thanks . Lol.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)