User
Pass
2FA
 
 

Need a plugin
Go to page 1, 2  Next    
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash
Author Message6586
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 24-10-2008, 12:47:59 | Translate post to: ... (Click for more languages)

Am vazut la un plugin k nu era linkul bun si v-am rugat sa-i da-ti unu dak nu ati gasit putea-ti makr sa sp nu sa stergeti topicul.
Spunetim makr numele k-l kut yo!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Pluginul despre care vb face un mesaj in stanga monitorului sus q numele serverului sau q ce vreau sa pun yo. Va rog sp qm se numeste k-l kut yo dar imi trebuie un punct de unde s plec adik numele pluginului
Psl tell me the name i need!!!!!!!!!!!!!!!11

0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 25-10-2008, 13:04:11 | Translate post to: ... (Click for more languages)

1. vezi ca nai postat bine
2. incearca
Code:
#include <amxmodx>
public plugin_init() {
   register_plugin("New","x","P.Of.Pw aka PoSiTiOn Of PoWeR")
   set_task(2.0,"cmdHudMsg",_,_,_,"b")
}

public cmdHudMsg() {
   set_hudmessage(85, 255, 42, -1.0, 0.22, 0, 6.0, 12.0)
   show_hudmessage(0, "Acesta este un Mesaj") // modifici aici mesajul
}

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 25-10-2008, 17:16:31 | Translate post to: ... (Click for more languages)

Imi cer scuze k nu am posta unde trebuia
in legatura q pluginul imi da o eroare :

//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// HudMsg.sma
// C:\HLDS\cstrike\addons\amxmodx\scripting\HudMsg.sma<9> : error 001: expected token: "}", but found "-end of file-"
//
// 1 Error.
//Could not locate output file compiled\HudMsd.amx<compile failed>.
//
// Compilation Time: 0.08 sec
// -----------------------------------------------

0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 25-10-2008, 20:22:36 | Translate post to: ... (Click for more languages)

ai uitat sa pui un "}" la sfarsit..
posteaza scriptul intreg cum ai modificat -

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 25-10-2008, 23:29:42 | Translate post to: ... (Click for more languages)

Bro spre surprinderea mea chiar merge
Dar am o singura rugaminte la u si te rog din suflet po-ti sa faci sa
apara mesajul in dreapta monitorului sus ????????
Daca po-ti mai salvat -

0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 26-10-2008, 10:21:11 | Translate post to: ... (Click for more languages)

Code:
set_hudmessage(0, 255, 0, 0.59, 0.07, 0, 6.0, 12.0)
show_hudmessage(id, "Mesajul Tau !!!!!!!!!!")


Foloseste AMX_STUDIO->Generator->Mesasges HUD

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 26-10-2008, 17:17:58 | Translate post to: ... (Click for more languages)

Bro esti mare am reusit sa-l pun unde am vrut thx
zi-mi si mie care e valoare pt culoare la care trebuie sa umblu il vreau rosu
Acum vreau sa te intreb despre alt plugin numit
" simple_chat_message " nu-l gasesc nicaieri, da-mi o adresa care sa mearga pls

0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 26-10-2008, 20:41:02 | Translate post to: ... (Click for more languages)

Quote:
set_hudmessage(0, 255, 0, 0.59, 0.07, 0, 6.0, 12.0)


primele 3 numere sunt codurile de la culor in format RGB !

pt culoare rosie poti folosi : 255 , 0 , 0
deci va deveni
Quote:
set_hudmessage(255, 0, 0, 0.59, 0.07, 0, 6.0, 12.0)


RGB Color Cod -> click

simple_chat_message ce face?

totusi incearca:
Code:

#include <amxmodx>

#define PLUGIN_NAME "Simple Chat Messages"
#define PLUGIN_VERSION "2.0"
#define PLUGIN_AUTHOR "SAMURAI"

new gl_pcvar_message, gl_pcvar_time, gl_pcvar_color;
new msgSayText;

public plugin_init()
{
   register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
   
   gl_pcvar_message = register_cvar("amx_chatmessage","Visit http://www.cs-utilz.net");
   gl_pcvar_time = register_cvar("amx_time_interval","300.0");
   gl_pcvar_color = register_cvar("amx_chatmessage_color","green");
   
   msgSayText = get_user_msgid("SayText");
   
   
}

public client_connect(id)
{
   set_task(get_pcvar_float(gl_pcvar_time),"display_chat_message",_,_,_,"b");
}


public display_chat_message()
{
   new szMessage[1024], szColor[7];
   new iColorValue = 1;
   get_pcvar_string(gl_pcvar_message,szMessage,1023);
   get_pcvar_string(gl_pcvar_color,szColor,6);
   
   if(equali(szColor,"green")) iColorValue = 1;
   else if(equali(szColor,"red") || equali(szColor,"blue")) iColorValue = 2;
   else iColorValue = 1;
   
   new players[32], inum, i;
   get_players(players,inum);
   for(i = 0; i < inum; i++)
   {
      if(!is_user_connected(players[i])) continue;
      
      if(iColorValue == 1) client_print_green(players[i],szMessage);
      else if(iColorValue == 2) client_print_teamcolor(players[i],szMessage);
   }
   
}


stock client_print_green(index, const message[], {Float, Sql, Result,_}:...)
{
   new Buffer[512], Buffer2[512];
   formatex(Buffer2, sizeof Buffer2 - 1, "^x04%s", message);
   vformat(Buffer, sizeof Buffer - 1, Buffer2, 3);
   
   message_begin(MSG_ALL, msgSayText, _, index);
   write_byte(index);
   write_string(Buffer);
   message_end();
   
   return 1;
}


stock client_print_teamcolor(index, const message[], {Float, Sql, Result,_}:...)
{
   new Buffer[512], Buffer2[512];
   formatex(Buffer2, sizeof Buffer2 - 1, "^x03%s", message);
   vformat(Buffer, sizeof Buffer - 1, Buffer2, 3);
   
   message_begin(MSG_ALL, msgSayText, _, index);
   write_byte(index);
   write_string(Buffer);
   message_end();
   
   return 1;
}



sau CLICK

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 27-10-2008, 13:59:05 | Translate post to: ... (Click for more languages)

Bro imi pare rau dar aseara nu am putut sa incerc ce mi-ai dat
A venit " My girl friend " si a trebuit sa fac o seara romantica
(lumanari,vin ,soapte frumoase la ureche,muzica romantica, etc stiu) si a iesit destul de bine - - cu multi dastia - si ft multa pozitie deasta -

Dar promit ca asta seara o sa incerc c mi-ai dat cand vin de la munca

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 28-10-2008, 01:10:54 | Translate post to: ... (Click for more languages)

Bro pt mine esti un zeu thx am reusit sa le fac sa mearga aqm ce mai vreau de la u este unrmatorul lucru la :

-- Hudmsg cum al fac sa fie permanent sa nu mai dispara dupa 12 sec
(bine ca aqm e setat la 999999 dar qm al fac permanent sa nu mai dispara)

-- Iar la Simple_Chat_Message cum schim culoarea in rosu

Si atat ai terminat cu me si inca o data thx

0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 28-10-2008, 16:28:24 | Translate post to: ... (Click for more languages)

1. Mesaj permanent:
Code:

#include <amxmodx>


public plugin_init() {
   register_plugin("Permanent MSG","1.0","P.Of.Pw")
   
   set_task(2.0,"cmdHudMsg",_,_,_,"b")
}

public cmdHudMsg() {
   new players[32],num,i
   get_players(players,num)
   for(i = 0; i <= num; i++)
   {
      new id = players[i]
      
      if(is_user_connected(id)) {
   
         set_hudmessage(0, 255, 0, 0.59, 0.07, 0, 6.0, 12.0)
         show_hudmessage(0, "Mesajul Tau Permanent!!")
      }
   }
}


sau ceva mai simplu:
Code:

#include <amxmodx>

public plugin_init() {
   register_plugin("Permanent MSG","1.0","P.Of.Pw")
   set_task(2.0,"cmdHudMsg",_,_,_,"b")
}

public cmdHudMsg() {
   
   set_hudmessage(0, 255, 0, 0.59, 0.07, 0, 6.0, 12.0)
   show_hudmessage(0, "Mesajul Tau Permanent!!")
      
}


2:
Code:

#include <amxmodx>

#define PLUGIN_NAME "Simple Chat Messages"
#define PLUGIN_VERSION "2.0"
#define PLUGIN_AUTHOR "SAMURAI"

new gl_pcvar_message, gl_pcvar_time, gl_pcvar_color;
new msgSayText;

public plugin_init()
{
   register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
   
   gl_pcvar_message = register_cvar("amx_chatmessage","Visit http://www.cs-utilz.net");
   gl_pcvar_time = register_cvar("amx_time_interval","300.0");
   gl_pcvar_color = register_cvar("amx_chatmessage_color","green");
   
   msgSayText = get_user_msgid("SayText");
   
   
}

public client_connect(id)
{
   set_task(get_pcvar_float(gl_pcvar_time),"display_chat_message",_,_,_,"b");
}


public display_chat_message()
{
   new szMessage[1024], szColor[7];
   new iColorValue = 1;
   get_pcvar_string(gl_pcvar_message,szMessage,1023);
   get_pcvar_string(gl_pcvar_color,szColor,6);
   
   if(equali(szColor,"green")) iColorValue = 1;
   else if(equali(szColor,"red") || equali(szColor,"red")) iColorValue = 2;
   else iColorValue = 1;
   
   new players[32], inum, i;
   get_players(players,inum);
   for(i = 0; i < inum; i++)
   {
      if(!is_user_connected(players[i])) continue;
     
      if(iColorValue == 1) client_print_green(players[i],szMessage);
      else if(iColorValue == 2) client_print_teamcolor(players[i],szMessage);
   }
   
}


stock client_print_green(index, const message[], {Float, Sql, Result,_}:...)
{
   new Buffer[512], Buffer2[512];
   formatex(Buffer2, sizeof Buffer2 - 1, "^x02%s", message);
   vformat(Buffer, sizeof Buffer - 1, Buffer2, 3);
   
   message_begin(MSG_ALL, msgSayText, _, index);
   write_byte(index);
   write_string(Buffer);
   message_end();
   
   return 1;
}


stock client_print_teamcolor(index, const message[], {Float, Sql, Result,_}:...)
{
   new Buffer[512], Buffer2[512];
   formatex(Buffer2, sizeof Buffer2 - 1, "^x02%s", message);
   vformat(Buffer, sizeof Buffer - 1, Buffer2, 3);
   
   message_begin(MSG_ALL, msgSayText, _, index);
   write_byte(index);
   write_string(Buffer);
   message_end();
   
   return 1;
}


nu stiu sigur daca merge :-s

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 29-10-2008, 00:07:25 | Translate post to: ... (Click for more languages)

Bro imi pare rau dar nu merg tot la cate secunde este setat sta (hudmsg)
0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 29-10-2008, 13:25:12 | Translate post to: ... (Click for more languages)

modifica
Code:
set_task(2.0,"cmdHudMsg",_,_,_,"b")

cu
Code:
set_task(0.0,"cmdHudMsg",_,_,_,"b")

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 30-10-2008, 15:39:30 | Translate post to: ... (Click for more languages)

sm_mode2 set n
sm_reg "SM_RoundStart n 2" "{%.rndct+1}sm_tell * \'>>> F.I.G.H.T <<<\' 4;sm_tell * \'[RoundStart] Incepe Runda -<{%.rndct}>- pe Harta -<{currentmap}>- Players -> {playersnum}/{maxplayers} <-\' 3" bcde
sm_reg "TextMsg n 2" "{%.rndct=0}" ade "2=#Game_C" "2=#Game_w"
sm_reg "SM_RoundStart n 2" "sm_clexec * \'spk \\'vox/round {W.{%.rndct}}\\'\'" bcde


Bro sp si mie cum activez acest plugin este pt statsme iam facut
plugin.cfg si folder plugin ubde l-am pus.
In plugin.cfg am trecut asa :

exec addons/statsme/plugins/roundcountvoice.cfg

Ian in statsme.cfg am trecut asa :

exec addons/statsme/plugins.cfg

Unde mai trebuie sa trec si ce ca sa mearga. Ajuta-ma daca sti sau macar raspude-mi ca sa stiu ca ai citit

Asa si HudMsg tot nu e permanent

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 30-10-2008, 15:41:07 | Translate post to: ... (Click for more languages)

scuze am facut plugins.cfg si folder plugins am uitat sa trec yo pe " s "
la sfarsit sorry

0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash  
Go to page 1, 2  Next    


The time now is 18-01-2025, 04:51:36
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x