19.07.2016, 17:48
PHP код:
new PlayerText:KillerTextdraw[MAX_PLAYERS];
forward HideKillerTextdraw(playerid);
public OnPlayerConnect(playerid)
{
KillerTextdraw[playerid] = CreatePlayerTextDraw(playerid, 320.0, 240.0, "+1000$ and 1 Score");
return 1;
}
public HideKillerTextdraw(playerid)
{
PlayerTextDrawHide(playerid, KillerTextdraw[playerid]);
return 0;
}
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerTextDrawShow(killerid, KillerTextdraw[killerid]);
SetTimerEx("HideKillerTextdraw", 3000, 0, "i", killerid);
return 1;
}
i dont f#cking know why am i using player textdraw.. lol.
Use a standard textdraw.