SA-MP Forums Archive
How can i delete this picture in samp - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How can i delete this picture in samp (/showthread.php?tid=616581)



Delete i fixed - thienle7090 - 07.09.2016

DELETE fixed thanks bro


Re: How can i delete this picture in samp - Marricio - 07.09.2016

pawn Код:
#include <a_samp>
new Text:Saicommand0;
new Text:Saicommand1;
new ddnghi[MAX_PLAYERS];

public OnGameModeInit()
{

    Saicommand0 = TextDrawCreate(185.500000, 387.022277, "SG-RP");
    TextDrawLetterSize(Saicommand0, 0.449999, 1.600000);
    TextDrawAlignment(Saicommand0, 1);
    TextDrawColor(Saicommand0, 16777215);
    TextDrawSetShadow(Saicommand0, 0);
    TextDrawSetOutline(Saicommand0, 1);
    TextDrawBackgroundColor(Saicommand0, 51);
    TextDrawFont(Saicommand0, 1);
    TextDrawSetProportional(Saicommand0, 1);

    Saicommand1 = TextDrawCreate(231.500000, 385.777801, "");
    TextDrawLetterSize(Saicommand1, 0.449999, 1.600000);
    TextDrawAlignment(Saicommand1, 1);
    TextDrawColor(Saicommand1, -1);
    TextDrawSetShadow(Saicommand1, 0);
    TextDrawSetOutline(Saicommand1, 1);
    TextDrawBackgroundColor(Saicommand1, 51);
    TextDrawFont(Saicommand1, 1);
    TextDrawSetProportional(Saicommand1, 1);
    return 1;
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success)
    {
    TextDrawShowForPlayer(playerid, Saicommand0);
    TextDrawShowForPlayer(playerid, Saicommand1);
    new string[500];
    format(string,sizeof(string),": Khong co lenh (%s) trong he thong", cmdtext);
    TextDrawSetString(Saicommand1, string);
     ddnghi[playerid] = SetTimerEx("saicommand", 7000, true, "i", playerid);
    }
    return 1;
}
forward saicommand(playerid, cmdtext[]);
public saicommand(playerid, cmdtext[])
{
    TextDrawHideForPlayer(playerid, Saicommand0);
    TextDrawHideForPlayer(playerid, Saicommand1);
    return 1;
}
Removed Saicommand2.


Re: How can i delete this picture in samp - thienle7090 - 07.09.2016

thanks


Re: How can i delete this picture in samp - Sew_Sumi - 07.09.2016

Next time you ask for help, don't delete the contents of your post, this is what the forum is for...

By removing it, people search for things, and they can't see how you fixed a problem you had previously that is close to theirs.


Threads also don't get deleted because of this reason.