[] informações:
N/A
[] função:
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 */
[] Exemplo de Uso:
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(" Gangsters logotipo Fácil "); print(" Date: 29/08/2013 "); print(" Author: OTACON "); print(" --* Loaded with Success!!. *-- "); print("***************************************\n"); SendRconCommand("hostname Gangsters logotipo Fácil"); SendRconCommand("gamemodetext By OTACON"); return true; } FUNCTION: OnFilterScriptExit() { print("\n**************************************"); print(" Gangsters logotipo Fácil "); print(" Date: 29/08/2013 "); print(" Author: OTACON "); print(" --* Downloaded with Success!!. *-- "); print("***************************************\n"); SendRconCommand("hostname Gangsters logotipo Fácil"); 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 -----
[] Transferências:
[] senha:
Otacon
[] Créditos:
OTACON
0 comentários:
Postar um comentário