Textdraw help
#1

I need like this





here is the code onplayerdeath

pawn Код:
//==============================================================================
//OnPlayerDeath
//==============================================================================
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid == playerid) return 1; // They either fell, or took self-inflicted damage somehow.
    new string[75];
    format(string, sizeof(string), "You have killed %s.", GetName(playerid));
    SendClientMessage(killerid, -1, string);
    format(string, sizeof(string), "You have been killed by %s.", GetName(killerid));
    SendClientMessage(playerid, -1, string);

    //--------------------------------------------------------------------------
    //Settings & Others
    //--------------------------------------------------------------------------
    SetPlayerVirtualWorld(playerid, 0);
    SetPlayerWantedLevel(playerid, 0);
    SendDeathMessage(killerid, playerid, reason);
    if(killerid != INVALID_PLAYER_ID)
    {
        SetPlayerScore(killerid, GetPlayerScore(killerid) +1);
    }
    GivePlayerMoney(killerid, 100);
    GivePlayerMoney(playerid, 0);
    //--------------------------------------------------------------------------
    //Textdraw's Hide/Show
    //--------------------------------------------------------------------------
    TextDrawShowForPlayer(playerid, Textdraw27);
    //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    //TextDrawHideForPlayer(playerid, Textdraw0);
    //TextDrawHideForPlayer(playerid, Textdraw4);
    //TextDrawHideForPlayer(playerid, Textdraw5);
    TextDrawHideForPlayer(playerid, Textdraw6);
    TextDrawHideForPlayer(playerid, Textdraw7);
    TextDrawHideForPlayer(playerid, Textdraw8);
    TextDrawHideForPlayer(playerid, Textdraw81);
    TextDrawHideForPlayer(playerid, Textdraw82);
    TextDrawHideForPlayer(playerid, Textdraw83);
    TextDrawHideForPlayer(playerid, Textdraw84);
Reply


Messages In This Thread
Textdraw help - by Spartaaaaa - 30.07.2014, 22:36
Re: Textdraw help - by Stanford - 30.07.2014, 22:47
Re: Textdraw help - by Spartaaaaa - 31.07.2014, 01:19
Re: Textdraw help - by TazmaNiax - 31.07.2014, 01:41
Re: Textdraw help - by Spartaaaaa - 31.07.2014, 01:58
Re: Textdraw help - by fonia5 - 31.07.2014, 01:59
Re: Textdraw help - by Sharpadox - 31.07.2014, 02:01
Re: Textdraw help - by Stanford - 31.07.2014, 02:03
Re: Textdraw help - by TazmaNiax - 31.07.2014, 02:05
Re: Textdraw help - by Spartaaaaa - 31.07.2014, 02:13

Forum Jump:


Users browsing this thread: 2 Guest(s)