05.06.2012, 05:07
People. I ask you to help me with a problem ...
need to convert the code ... To TextDraw or 3DText
ae someone help me, please take a lot and I am new to pawn... xDD
need to convert the code ... To TextDraw or 3DText
ae someone help me, please take a lot and I am new to pawn... xDD
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(damagedid != INVALID_PLAYER_ID)
{
new string[25];
format(string, sizeof(string), "~g~-~r~%.0f", amount), GameTextForPlayer(playerid, string, 3000, 3), GameTextForPlayer(damagedid, string, 3000, 3);
PlayerPlaySound(playerid,17802,0.0,0.0,0.0);
}
return 1;
}