18.09.2013, 15:36
Im making a death textdraw all works fine but i want to define when i make damage on someone it comes on his death textdraw Damage: %.0f but ingame it comes Damage: 0 even if i shot him like 393939 times. Here is the code:
And i defined amount with this
What is the problem?
pawn Код:
format(string, sizeof(string), "Death\nName: %s\nWeaponkill: %s\nDamage: %.0f\nRemoving in [3] min", RPN(playerid), RWN(reason), amount);
deathh[playerid] = CreateDynamic3DTextLabel(string, COLOR_WHITE, X, Y, Z, 15);
pawn Код:
new Float: amount;