16.09.2012, 13:55
pawn Код:
CMD:taze(playerid,params[])
{
new tazed;
if(HandCuffs[playerid] == 1)
{
if(HandCuffsTazed[playerid] == 1)
{
if(sscanf(params,"u",tazed))
{
new Float:Health;
GetPlayerHealth(playerid,Health);
SetPlayerHealth(playerid,Health-5);
SetTimerEx("TazedTimer",12000,false,"d",playerid);
SetTimerEx("TazedStop",19700,false,"d",playerid);
}
}
}
return 1;
}