DBind System - Key Binder -
DreDasLT - 02.02.2013
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 )
Re: DBind System - Key Binder -
DSQLXPRT - 02.02.2013
Dini's outdated, why not update to ZCMD/YCMD/etc..? Good job though, unique FS.
Re: DBind System - Key Binder -
DreDasLT - 02.02.2013
Mysql will be in v2 version just wait 1 week
. Thanks.
Re: DBind System - Key Binder -
Alvon - 03.02.2013
Interesting technique. I greatly appreciate it. Whatever it's. Congratulations on your efforts.
#March
Re: DBind System - Key Binder -
DreDasLT - 03.02.2013
THanks
Re: DBind System - Key Binder -
hustrine - 08.02.2013
Good job bro!
Re: DBind System - Key Binder -
DreDasLT - 14.02.2013
Thanks
)
Re: DBind System - Key Binder -
EdvinasStudio - 05.03.2013
Good
Re: DBind System - Key Binder -
DreDasLT - 05.03.2013
Thanks
Re: DBind System - Key Binder -
moustafa0550 - 01.09.2013
Wow Good Jop 10/10 You Are The Best
Re: DBind System - Key Binder -
DreDasLT - 02.09.2013
Really? Thanks
Re: DBind System - Key Binder -
DreDasLT - 22.09.2013
Up
Re: DBind System - Key Binder -
x96664 - 22.09.2013
Really, nice work, useful for Cops and Robbers servers to bind cuff maybe. REP+
Re: DBind System - Key Binder -
DreDasLT - 26.11.2013
Thanks ;]
Re: DBind System - Key Binder -
Joksa - 26.11.2013
I like it good
+REP
Re: DBind System - Key Binder -
DreDasLT - 11.08.2014
Thanks
. Lol.