SA-MP Forums Archive
[Include] Easy logo Gangsters By OTACON - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Easy logo Gangsters By OTACON (/showthread.php?tid=460712)



Easy logo Gangsters By OTACON - OTACON - 29.08.2013

[] 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


Re: Easy logo Gangsters By OTACON - XxBaDxBoYxX - 29.08.2013

Wow, Cool one.


Re: Easy logo Gangsters By OTACON - Rock - 29.08.2013

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.


Re: Easy logo Gangsters By OTACON - DeathFire - 29.08.2013

:O VERY NICE!


Re: Easy logo Gangsters By OTACON - hossa - 29.08.2013

Nice for gangwars servers.
rep+


Re : Easy logo Gangsters By OTACON - Matnix - 29.08.2013

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


Re : Easy logo Gangsters By OTACON - darreugne - 29.08.2013

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


Re: Easy logo Gangsters By OTACON - DemME - 22.12.2013

Pastbin please.


Re: Easy logo Gangsters By OTACON - Don_Cage - 22.12.2013

Looks nice,gj