02.05.2015, 03:25
this is a FilterSCript
#include <a_samp>
#include <zcmd>
//------------------
CMD:dbk(playerid)
{
GivePlayerWeqpon(playerid,8,1);
SendClientMessage(playerid,0xFFFFFFFF,"you get drinking blood knife");
}
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
switch(weaponid) {
case 8 : {
new Float
Health;
GetPlayerHealth(playerid, pHealth);
if(pHealth < 100.0) {
SetPlayerHealth(playerid, pHealth + 5.0);
SendClientMessage(playerid, 0xFFFFFFFF, "Drinking blood (HP)");
} else {
SetPlayerHealth(playerid, 100.0);
new Float
Armour;
GetPlayerArmour(playerid, pArmour);
SetPlayerArmour(playerid, pArmour + 5.0);
SendClientMessage(playerid, 0xFFFFFFFF, "Drinking blood (AR)");
}
}
}
return 1;
}
the smiling is ":"
#include <a_samp>
#include <zcmd>
//------------------
CMD:dbk(playerid)
{
GivePlayerWeqpon(playerid,8,1);
SendClientMessage(playerid,0xFFFFFFFF,"you get drinking blood knife");
}
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
switch(weaponid) {
case 8 : {
new Float

GetPlayerHealth(playerid, pHealth);
if(pHealth < 100.0) {
SetPlayerHealth(playerid, pHealth + 5.0);
SendClientMessage(playerid, 0xFFFFFFFF, "Drinking blood (HP)");
} else {
SetPlayerHealth(playerid, 100.0);
new Float

GetPlayerArmour(playerid, pArmour);
SetPlayerArmour(playerid, pArmour + 5.0);
SendClientMessage(playerid, 0xFFFFFFFF, "Drinking blood (AR)");
}
}
}
return 1;
}
the smiling is ":"