[FilterScript] Rockstar Logo
#1

Rockstar Logo
Description

A simple textdraw showing Rockstar's logo.

Media



Adapted from: Click here.

Note: Textdraw is found on the bottom right of your screen.

Bugs

-

Code / Script

Note: It's a short code, that's why i posted it here. Else, i was going to post it on Github or Pastebin!

PHP код:
/*
    Author: AjaxM
    Textdraws: 7
    Date: 14/01/2017 20:23
        Last Updated: 12/01/2017 12:15
        Changelogs: (v2)
       + Supports only 4 Textdraws
       + Textdraws now gets destroyed when a player disconnects 
       + The logo is relatively bigger then the previous version
       + Textdraw 'R' is now red in color 
       Total Changes: 4
*/
new Text:TDEditor_TD[4];
public 
OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
"Rockstar Logo (v2) by AjaxM has loaded...");
    print(
"--------------------------------------\n");
    
    
TDEditor_TD[0] = TextDrawCreate(579.599975361.733520"BlackBox");
    
TextDrawLetterSize(TDEditor_TD[0], 0.0000003.999998);
    
TextDrawTextSize(TDEditor_TD[0], 621.0000000.000000);
    
TextDrawAlignment(TDEditor_TD[0], 1);
    
TextDrawColor(TDEditor_TD[0], -1);
    
TextDrawUseBox(TDEditor_TD[0], 1);
    
TextDrawBoxColor(TDEditor_TD[0], 255);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TextDrawSetOutline(TDEditor_TD[0], 0);
    
TextDrawBackgroundColor(TDEditor_TD[0], 255);
    
TextDrawFont(TDEditor_TD[0], 1);
    
TextDrawSetProportional(TDEditor_TD[0], 1);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TDEditor_TD[1] = TextDrawCreate(582.799743365.466735"YellowBox");
    
TextDrawLetterSize(TDEditor_TD[1], 0.0000003.119998);
    
TextDrawTextSize(TDEditor_TD[1], 618.0000000.000000);
    
TextDrawAlignment(TDEditor_TD[1], 1);
    
TextDrawColor(TDEditor_TD[1], -1);
    
TextDrawUseBox(TDEditor_TD[1], 1);
    
TextDrawBoxColor(TDEditor_TD[1], -65281);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TextDrawSetOutline(TDEditor_TD[1], 0);
    
TextDrawBackgroundColor(TDEditor_TD[1], 255);
    
TextDrawFont(TDEditor_TD[1], 1);
    
TextDrawSetProportional(TDEditor_TD[1], 1);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TDEditor_TD[2] = TextDrawCreate(586.799987361.733367"R");
    
TextDrawLetterSize(TDEditor_TD[2], 0.6127992.772269);
    
TextDrawAlignment(TDEditor_TD[2], 1);
    
TextDrawColor(TDEditor_TD[2], -16776961);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TextDrawSetOutline(TDEditor_TD[2], 0);
    
TextDrawBackgroundColor(TDEditor_TD[2], 255);
    
TextDrawFont(TDEditor_TD[2], 2);
    
TextDrawSetProportional(TDEditor_TD[2], 1);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TDEditor_TD[3] = TextDrawCreate(582.201416376.359985"[]");
    
TextDrawLetterSize(TDEditor_TD[3], 0.5592001.965866);
    
TextDrawAlignment(TDEditor_TD[3], 1);
    
TextDrawColor(TDEditor_TD[3], 65535);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    
TextDrawSetOutline(TDEditor_TD[3], 0);
    
TextDrawBackgroundColor(TDEditor_TD[3], 255);
    
TextDrawFont(TDEditor_TD[3], 2);
    
TextDrawSetProportional(TDEditor_TD[3], 1);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    return 
1;
}
public 
OnFilterScriptExit()
{
    print(
"\n--------------------------------------");
    print(
"Rockstar Logo by AjaxM has unloaded...");
    print(
"--------------------------------------\n");
    
    
TextDrawDestroy(TDEditor_TD[0]);
    
TextDrawDestroy(TDEditor_TD[1]);
    
TextDrawDestroy(TDEditor_TD[2]);
    
TextDrawDestroy(TDEditor_TD[3]);
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
TextDrawShowForPlayer(playeridTDEditor_TD[0]);
    
TextDrawShowForPlayer(playeridTDEditor_TD[1]);
    
TextDrawShowForPlayer(playeridTDEditor_TD[2]);
    
TextDrawShowForPlayer(playeridTDEditor_TD[3]);
    return 
1;
}
public 
OnPlayerDisconnect(playeridreason)
{
    
TextDrawDestroy(TDEditor_TD[0]);
    
TextDrawDestroy(TDEditor_TD[1]);
    
TextDrawDestroy(TDEditor_TD[2]);
    
TextDrawDestroy(TDEditor_TD[3]);
    return 
1;

Credit

AjaxM - Designed this textdraw
Kalcor & Team - SA-MP
Rockstar - GTA San Andreas
Adri1 - Textdraw Editor

Enjoy.
Reply
#2

Nice !! Am gonna use it for my server
Reply
#3

Nicely done, good job as beginner keep ur work up
Reply
#4

Quote:
Originally Posted by PhoneixViper
Посмотреть сообщение
Nice !! Am gonna use it for my server
Sure!

Quote:
Originally Posted by RyderX
Посмотреть сообщение
Nicely done, good job as beginner keep ur work up
Thanks.
Reply
#5

Good idea, cool!
Reply
#6

Quote:
Originally Posted by Astralis
Посмотреть сообщение
Good idea, cool!
Thanks!

I thought to make one since rockstar made GTA San Andreas. At least, we should give them some credits!
Reply
#7

Looks great!
Reply
#8

Its nice but why you created so many textdraws when you could do it with only 4
Reply
#9

Nothing special! Simple
Reply
#10

Quote:
Originally Posted by muzammilfreeman
Посмотреть сообщение
Looks great!
Thanks!

Quote:
Originally Posted by Micko123
Посмотреть сообщение
Its nice but why you created so many textdraws when you could do it with only 4
I could even make it with 3 Textdraws but i had to add the black colour on the edges.

Quote:
Originally Posted by Scripter18
Посмотреть сообщение
Nothing special! Simple
Yeah, i kept it simple.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)