19.05.2017, 10:07
PHP код:
if(Character[playerid][BrutalM] == 1)
{
Character[playerid][CanAccept] = 0;
SetPlayerPos(playerid, Character[playerid][DPosX], Character[playerid][DPosY], Character[playerid][DPosZ]+1);
SetTimerEx("AcceptD", 120000, false, "i", playerid);
TogglePlayerControllable(playerid, false);
SetTimerEx("ConBrutal", 5000, false, "i", playerid);
SetPlayerHealth(playerid, 15.0);
format(DTextS, sizeof(DTextS), "(( %s has been injuried several times. /damages %s for more info. ))", GetName(playerid), playerid);
label = Create3DTextLabel(DTextS, COLOR_RED, Character[playerid][DPosX], Character[playerid][DPosY], Character[playerid][DPosZ], 10.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0, 0, 0.7);
}
PHP код:
format(DTextS, sizeof(DTextS), "(( %s has been injuried several times. /damages %s for more info .))", GetName(playerid), playerid);