uitatia ca nu vrea sa mearga pluginul[rezolvat!]

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
sandelu32
Membru, skill 0
Membru, skill 0
Posts: 39
Joined: 31 Aug 2010, 09:03
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com!
Has thanked: 3 times
Contact:

31 Aug 2010, 09:15

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

// Add your code here...
}
set_hudmessage(255, 255, 0, 0.00, 0.9, 0, 6.0, 6.0)
show_hudmessage(id, "Bine Ati Venit")
set_hudmessage(255, 255, 0, 0.00, 0.9, 0, 6.0, 7.0)
show_hudmessage(id, "Pentru Resetare Scorului Tastati /resetscore")
set_hudmessage(255, 255, 0, 0.00, 0.9, 0, 6.0, 5.0)
show_hudmessage(id, "Daca vreti sa vedeti adminii online tastati /admin")
set_hudmessage(255, 255, 0, 0.00, 0.9, 0, 6.0, 8.0)
show_hudmessage(id, "Nu va urcati pe harti\cladiri [slay\kick\ban]")





cand il compilez imi scrie


Your plugin failed to compile! Read the errors below:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/phpTNGRoW.sma(16) : error 021: symbol already defined: "set_hudmessage"

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpTNGRoW.amx (compile failed).

nu stiu de ce pliz ajutatima
User avatar
Ciprian
Fost administrator
Fost administrator
Posts: 5172
Joined: 10 May 2008, 20:29
Detinator Steam: Da
CS Status: ^^
SteamID: crazycipry
Reputatie: Fost administrator
Fost Scripter eXtreamCS
Fost Supervizor CS.eXtreamCS.com
Fost Unbanner ZM.eXtreamCS.com
Fost Contribuitor
Nume anterior: crazy.cipry
Location: Baia Mare
Has thanked: 176 times
Been thanked: 401 times

31 Aug 2010, 10:37

| Afiseaza codul
[code=php]/* Plugin generated by AMXX-Studio */

#include < amxmodx >

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Ciprian"

#define INTERVAL     20 
#define RED         255
#define GREEN        255
#define BLUE        0
#define X_POS        0.00
#define Y_POS        0.9
#define DURATION    3

new g_MsgSync;

new const g_Messages[ 4 ][ 192 ] = {
    "Bine Ati Venit",
    "Pentru Resetare Scorului Tastati /resetscore",
    "Daca vreti sa vedeti adminii online tastati /admin",
    "Nu va urcati pe harti\cladiri [slay\kick\ban]"
}

public plugin_init ( ) {
    register_plugin ( PLUGIN, VERSION, AUTHOR );
    
    g_MsgSync = CreateHudSyncObj ( );
    set_task ( float ( INTERVAL ), "task_show_messages", _, _, _, "b" );
}

public task_show_messages ( ) {
    set_hudmessage ( RED, GREEN, BLUE, X_POS, Y_POS, 0, 6.0, float ( DURATION ) );
    ShowSyncHudMsg ( 0, g_MsgSync, g_Messages[ random ( sizeof ( g_Messages ) ) ] );
} [/code]
sandelu32
Membru, skill 0
Membru, skill 0
Posts: 39
Joined: 31 Aug 2010, 09:03
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com!
Has thanked: 3 times
Contact:

31 Aug 2010, 11:32

mersi ciprian
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests