How to add images & logo's to your script?
#1

So basically my first question is how do i add a logo to a players screen when they connect to my server, for example the logo would come up in the bottom right corn of there screen when they join the server

This is my login page



and here's the script belonging to the login


PHP код:
stock DefaultTextdraws()
{
    
remadeText TextDrawCreate(506.000000380.000000"... || Infestation || ...");
    
TextDrawBackgroundColor(remadeText255);
    
TextDrawFont(remadeText2);
    
TextDrawLetterSize(remadeText0.1599991.399999);
    
TextDrawColor(remadeText16777215);
    
TextDrawSetOutline(remadeText0);
    
TextDrawSetProportional(remadeText1);
    
TextDrawSetShadow(remadeText1);
    
remadeText2 TextDrawCreate(517.000000389.000000"Visit our forum");
    
TextDrawBackgroundColor(remadeText2255);
    
TextDrawFont(remadeText22);
    
TextDrawLetterSize(remadeText20.1400001.200000);
    
TextDrawColor(remadeText2, -1);
    
TextDrawSetOutline(remadeText20);
    
TextDrawSetProportional(remadeText21);
    
TextDrawSetShadow(remadeText21);
    
TimeLeft TextDrawCreate(22.000000251.000000"180");
    
TextDrawBackgroundColor(TimeLeft255);
    
TextDrawFont(TimeLeft3);
    
TextDrawLetterSize(TimeLeft1.7700003.499999);
    
TextDrawColor(TimeLeft16777215);
    
TextDrawSetOutline(TimeLeft0);
    
TextDrawSetProportional(TimeLeft1);
    
TextDrawSetShadow(TimeLeft1);
    
UntilRescue TextDrawCreate(34.000000280.000000"UNTIL EVAC");
    
TextDrawBackgroundColor(UntilRescue255);
    
TextDrawFont(UntilRescue1);
    
TextDrawLetterSize(UntilRescue0.3800000.900000);
    
TextDrawColor(UntilRescue, -1);
    
TextDrawSetOutline(UntilRescue0);
    
TextDrawSetProportional(UntilRescue1);
    
TextDrawSetShadow(UntilRescue1);
    
AliveInfo TextDrawCreate(23.000000169.000000"~b~HUMANS ALIVE: 0~n~ZOMBIES ALIVE: 0~n~~r~FORUMS~W~:COMING SOON");
    
TextDrawBackgroundColor(AliveInfo255);
    
TextDrawFont(AliveInfo1);
    
TextDrawLetterSize(AliveInfo0.2000001.400000);
    
TextDrawColor(AliveInfo, -1);
    
TextDrawSetOutline(AliveInfo0);
    
TextDrawSetProportional(AliveInfo1);
    
TextDrawSetShadow(AliveInfo1);
    
XP TextDrawCreate(502.00000011.000000"~n~");
    
TextDrawBackgroundColor(XP255);
    
TextDrawFont(XP2);
    
TextDrawLetterSize(XP0.2700001.000000);
    
TextDrawColor(XP16777215);
    
TextDrawSetOutline(XP0);
    
TextDrawSetProportional(XP1);
    
TextDrawSetShadow(XP1);
    
CurrentMap TextDrawCreate(42.000000289.000000"~r~Map: Loading");
    
TextDrawBackgroundColor(CurrentMap255);
    
TextDrawFont(CurrentMap2);
    
TextDrawLetterSize(CurrentMap0.1900000.700000);
    
TextDrawColor(CurrentMap, -1);
    
TextDrawSetOutline(CurrentMap0);
    
TextDrawSetProportional(CurrentMap1);
    
TextDrawSetShadow(CurrentMap1);
    
EventText TextDrawCreate(503.000000397.000000"COMING SOON");
    
TextDrawBackgroundColor(EventText255);
    
TextDrawFont(EventText2);
    
TextDrawLetterSize(EventText0.3000001.000000);
    
TextDrawColor(EventText, -16776961);
    
TextDrawSetOutline(EventText0);
    
TextDrawSetProportional(EventText1);
    
TextDrawSetShadow(EventText1);
    for(new 
iMAX_PLAYERS++)
    {
        
Infected[i] = TextDrawCreate(2.0000001.000000"~n~");
        
TextDrawBackgroundColor(Infected[i], 255);
        
TextDrawFont(Infected[i], 1);
        
TextDrawLetterSize(Infected[i], 0.50000050.000000);
        
TextDrawColor(Infected[i], -1);
        
TextDrawSetOutline(Infected[i], 0);
        
TextDrawSetProportional(Infected[i], 1);
        
TextDrawSetShadow(Infected[i], 1);
        
TextDrawUseBox(Infected[i], 1);
        
TextDrawBoxColor(Infected[i], 1174405190);
        
TextDrawTextSize(Infected[i], 640.0000000.000000);
        
iKilled[i] = TextDrawCreate(237.000000418.000000"Loading");
        
TextDrawBackgroundColor(iKilled[i], 255);
        
TextDrawFont(iKilled[i], 2);
        
TextDrawLetterSize(iKilled[i], 0.2000001.000000);
        
TextDrawColor(iKilled[i], -1);
        
TextDrawSetOutline(iKilled[i], 0);
        
TextDrawSetProportional(iKilled[i], 1);
        
TextDrawSetShadow(iKilled[i], 1);
        
myXP[i] = TextDrawCreate(546.00000054.000000"Loading");
        
TextDrawBackgroundColor(myXP[i], 255);
        
TextDrawFont(myXP[i], 2);
        
TextDrawLetterSize(myXP[i], 0.3000001.000000);
        
TextDrawColor(myXP[i], 16777215);
        
TextDrawSetOutline(myXP[i], 0);
        
TextDrawSetProportional(myXP[i], 1);
        
TextDrawSetShadow(myXP[i], 1);
        
ServerIntroOne[i] = TextDrawCreate(180.000000111.000000"Infestation~n~    ~r~Apocalypse "SCRIPT"");
        
TextDrawBackgroundColor(ServerIntroOne[i], 255);
        
TextDrawFont(ServerIntroOne[i], 3);
        
TextDrawLetterSize(ServerIntroOne[i], 0.8000004.000000);
        
TextDrawColor(ServerIntroOne[i], -1);
        
TextDrawSetOutline(ServerIntroOne[i], 0);
        
TextDrawSetProportional(ServerIntroOne[i], 1);
        
TextDrawSetShadow(ServerIntroOne[i], 1);
        
ServerIntroTwo[i] = TextDrawCreate(287.000000120.000000"          Server Owner:~r~Stones~n~~r~           Make sure you register on our forum: ~y~ COMING SOON!");
        
TextDrawBackgroundColor(ServerIntroTwo[i], 255);
        
TextDrawFont(ServerIntroTwo[i], 1);
        
TextDrawLetterSize(ServerIntroTwo[i], 0.2200001.200000);
        
TextDrawColor(ServerIntroTwo[i], -1);
        
TextDrawSetOutline(ServerIntroTwo[i], 0);
        
TextDrawSetProportional(ServerIntroTwo[i], 1);
        
TextDrawSetShadow(ServerIntroTwo[i], 1);
    }
    return 
1;

The second thing is more or less along the same lines, how would i add a picture that would last for say 5-10 seconds before the login pannel appeared.

Any response is greatly apprichated.
Reply


Messages In This Thread
How to add images & logo's to your script? - by Stones - 26.05.2014, 10:30
Re: How to add images & logo's to your script? - by NaClchemistryK - 26.05.2014, 10:52
Re : How to add images & logo's to your script? - by S4t3K - 26.05.2014, 11:08
Re: How to add images & logo's to your script? - by Stones - 26.05.2014, 11:09
Re: Re : How to add images & logo's to your script? - by Stones - 26.05.2014, 11:30
Re : How to add images & logo's to your script? - by S4t3K - 26.05.2014, 11:32
Re: Re : How to add images & logo's to your script? - by Stones - 26.05.2014, 11:37
Re : How to add images & logo's to your script? - by S4t3K - 26.05.2014, 11:40

Forum Jump:


Users browsing this thread: 1 Guest(s)