How to use this font?
#1

https://www.youtube.com/watch?v=zGPMYBsk2wA

How to use it in
Код:
OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
I want show my damage here, how to do it?
Код:
	new Float:dmg;
	GameTextForPlayer(damagedid, "~r~ %f", 1000, 3);
	GameTextForPlayer(playerid, "~g~ %f", 1000, 3);
Reply
#2

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID)
    {
        new string[10];
        format(string, sizeof(string), "~r~%.2f", amount);
        GameTextForPlayer(damagedid, string, 1000, 3);

        format(string, sizeof(string), "~g~%.2f", amount);
        GameTextForPlayer(playerid, string, 1000, 3);
    }
    return 1;
}
Reply
#3

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID)
    {
        new string[10];
        format(string, sizeof(string), "~r~%.2f", amount);
        GameTextForPlayer(damagedid, string, 1000, 3);

        format(string, sizeof(string), "~g~%.2f", amount);
        GameTextForPlayer(playerid, string, 1000, 3);
    }
    return 1;
}
Ty!!! +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)