[Include] Easy logo Gangsters By OTACON
#1

[] Easy logo Gangsters By OTACON
[] Video:
[ame]www.youtube.com/watch?v=pk9S4QWakHo[/ame]

[] Information:
N/A

[] Function:
pawn Code:
/*
    //FUNCTION:
        native DestroyGangsterLogo(playerid); //to destroy TextDraw.
        native ShowGangsterLogo(playerid); //to show TextDraw.
        native HideGangsterLogo(playerid);  //to hide TextDraw.
        native CreateGangsterLogo(playerid);  //to create TextDraw.
        native SetGangsterLogo(playerid,type); //to define the type of logo Gangster.
    //TYPE:
        Grove      
        Ballas      
        Aztecas    
        Vagos      
        Boys
        Rifa
        Triads
        Bikers      
        Russian    
        Italian    
*/
[] Example of Usage:
pawn Code:
// ----- TESTING -----
    #include <a_samp>
    #include <zcmd>
    #include <sscanf2>
    #include <LogoGangster>
    #define FUNCTION:%0(%1) forward%0(%1); public%0(%1)

    FUNCTION: OnFilterScriptInit() {
        print("\n**************************************");
        print("           Easy logo Gangster           ");
        print("            Date: 29/08/2013            ");
        print("             Author: OTACON             ");
        print("     --* Loaded with Success!!. *--     ");
        print("***************************************\n");
        SendRconCommand("hostname Easy logo Gangster");
        SendRconCommand("gamemodetext By OTACON");
        return true;
    }
    FUNCTION: OnFilterScriptExit() {
        print("\n**************************************");
        print("           Easy logo Gangster           ");
        print("            Date: 29/08/2013            ");
        print("             Author: OTACON             ");
        print("   --* Downloaded with Success!!. *--   ");
        print("***************************************\n");
        SendRconCommand("hostname Easy logo Gangster");
        SendRconCommand("gamemodetext By OTACON");
        return true;
    }
    FUNCTION: OnPlayerConnect(playerid) {
        CreateGangsterLogo(playerid);
        return true;
    }
    FUNCTION: OnPlayerDisconnect(playerid, reason) {
        HideGangsterLogo(playerid);
        DestroyGangsterLogo(playerid);
        return true;
    }
    COMMAND:test(playerid, params[]) {
        if(sscanf(params, "d", params[0])) return true;
        SetGangsterLogo(playerid,params[0]);
        HideGangsterLogo(playerid);
        ShowGangsterLogo(playerid);
        return true;
    }
    // ----- TESTING -----
[] Downloads:


[] Password:
Otacon

[] Credits:
OTACON
Reply
#2

Wow, Cool one.
Reply
#3

pawn Code:
#define FUNCTION:%0(%1) forward%0(%1); public%0(%1)
You want to show us that you know how to use #define?

Well, you choose a bad example, you've forwarded AGAIN OnFilterScriptInit/Exit and OnPlayerConnect/Disconnect, which leads to
Code:
warning 231: state specification on forward declaration is ignored
Fail.
EDIT:
Ohh..I have not seen this from the beginning.
pawn Code:
SendRconCommand("hostname Easy logo Gangster");
SendRconCommand("gamemodetext By OTACON");
THIS is pure fail.
Sorry kid, but you are too obsessed with yourself.

Anyway, good for server who use gangs.
Reply
#4

:O VERY NICE!
Reply
#5

Nice for gangwars servers.
rep+
Reply
#6

It's seems to be nice. But can you explain me how you create the pictures in-game?
Reply
#7

Quote:
Originally Posted by Matnix
View Post
It's seems to be nice. But can you explain me how you create the pictures in-game?
Download include and check yourself

BTW nice job
Reply
#8

Pastbin please.
Reply
#9

Looks nice,gj
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)