User
Pass
2FA
 
 

[Cerere plugin] - Tag

 
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 -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message3519
Sautefac

[Mentally Stable]



Status: Offline
(since 24-03-2018 14:35)
Joined: 23 Apr 2017
Posts: 32, Topics: 12
Location: Romania

Reputation: 24.1

Post Posted: 25-10-2017, 21:34:01 | Translate post to: ... (Click for more languages)

Salut ! Doresc un plugin de tag customizat prin care pot adauga un anumit tag dintr-un fisier .ini. Doresc daca se poate ca pluginul sa includa ghostchat (si daca se poate sa contina si admin_chat_colors), si sa nu existe eventuale bug-uri majore. Multam !.
0 0
  
Back to top
View user's profile Send private message
Bhupesh

[Mentally Stable]



Status: Offline
(since 31-08-2021 07:06)
Joined: 27 Jul 2017
Posts: 21, Topics: 12
Location: India

Reputation: 36.8

Post Posted: 28-10-2017, 07:39:10 | Translate post to: ... (Click for more languages)

You Can Use admin Prefixes

Spoiler:



Create .ini File with name ap_prefixes.ini

and if you want to put tag for you put

"n" "(name)" "(tag)"
Example :

"n" "Bhupesh" "^VeNom^"

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

[GOOGLE SEARCHER]



Status: Offline
(since 17-05-2023 01:23)
Joined: 04 May 2007
Posts: 6962, Topics: 147
Location: Romania

Reputation: 2724.4
Votes: 231

 
Post Posted: 28-10-2017, 18:54:39 | Translate post to: ... (Click for more languages)

Poti sa folosesti pluginul de mai sus combinat cu all chat, setat intr-un anumit mod.
Stiu ca are unele buguri, dar sincer am incercat si eu sa combin cele 2 pluginuri si nu am reusit sa fac unul complet functional.



1 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Sautefac

[Mentally Stable]



Status: Offline
(since 24-03-2018 14:35)
Joined: 23 Apr 2017
Posts: 32, Topics: 12
Location: Romania

Reputation: 24.1

Post Posted: 31-10-2017, 15:35:53 | Translate post to: ... (Click for more languages)

Altcineva?
0 0
  
Back to top
View user's profile Send private message
Sautefac

[Mentally Stable]



Status: Offline
(since 24-03-2018 14:35)
Joined: 23 Apr 2017
Posts: 32, Topics: 12
Location: Romania

Reputation: 24.1

Post Posted: 18-11-2017, 16:57:30 | Translate post to: ... (Click for more languages)

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

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 07-12-2017, 03:27:50 | Translate post to: ... (Click for more languages)

Nu trebuie combinat se modifica in el 2 linii mai exact in publicul ce face overwrite la functia say si team_say ->
Code:

for(new i = 1; i <= g_maxplayers; i++)
{
   if(!is_user_connected(i))
   continue

   if(get_user_team(id) == get_user_team(i) || get_pcvar_num(g_listen) && get_user_flags(i) & read_flags(temp_cvar))
   {
      if(get_pcvar_num(g_listen) && get_user_flags(i) & read_flags(temp_cvar)) //aici nu mai ai nevoie sa verifici daca cel care trimite si cel care sa vada mesajul sa vie viu adc conditiile astea au trebuit sterse-> is_user_alive(id) && is_user_alive(i) || !is_user_alive(id) && !is_user_alive(i)
      {
         send_message(g_message, id, i)
      }
   }
}

Mai sus trebuie sa modifici si formatul adica daca e admin sa aiba un anumit format string-ul daca nu sa afiseze pt player.Uite aici modificat pluginul :
Spoiler:



Retired from Amxmodx

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

[Mentally Stable]



Status: Offline
(since 24-03-2018 14:35)
Joined: 23 Apr 2017
Posts: 32, Topics: 12
Location: Romania

Reputation: 24.1

Post Posted: 08-12-2017, 20:35:35 | Translate post to: ... (Click for more languages)

destroi112 wrote:
Nu trebuie combinat se modifica in el 2 linii mai exact in publicul ce face overwrite la functia say si team_say ->
Code:

for(new i = 1; i <= g_maxplayers; i++)
{
   if(!is_user_connected(i))
   continue

   if(get_user_team(id) == get_user_team(i) || get_pcvar_num(g_listen) && get_user_flags(i) & read_flags(temp_cvar))
   {
      if(get_pcvar_num(g_listen) && get_user_flags(i) & read_flags(temp_cvar)) //aici nu mai ai nevoie sa verifici daca cel care trimite si cel care sa vada mesajul sa vie viu adc conditiile astea au trebuit sterse-> is_user_alive(id) && is_user_alive(i) || !is_user_alive(id) && !is_user_alive(i)
      {
         send_message(g_message, id, i)
      }
   }
}

Mai sus trebuie sa modifici si formatul adica daca e admin sa aiba un anumit format string-ul daca nu sa afiseze pt player.Uite aici modificat pluginul :
Spoiler:

Am mai avut pluginul asta, nu apare mesaj-ul pe say_team si nici nu mai apar comenzile care incep cu / in chat..

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

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 10-12-2017, 16:00:03 | Translate post to: ... (Click for more languages)

pt mesaju pe say_team modifici aici :
Spoiler:

asa :
Spoiler:

si pt problema 2 :
Spoiler:




Retired from Amxmodx

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

[Mentally Stable]



Status: Offline
(since 24-03-2018 14:35)
Joined: 23 Apr 2017
Posts: 32, Topics: 12
Location: Romania

Reputation: 24.1

Post Posted: 11-12-2017, 18:09:37 | Translate post to: ... (Click for more languages)

destroi112 wrote:
pt mesaju pe say_team modifici aici :
Spoiler:

asa :
Spoiler:

si pt problema 2 :
Spoiler:


1. Am modificat si tot nu apar comenzile de tip /
2. Pune culoarea verde la toti playerii in chat la mesaje.
3. Erori in consola :
************************************************
ML_NOTFOUND: PREFIX_LOAD_NAME
ML_NOTFOUND: PREFIX_LOADED_BY
ML_NOTFOUND: PREFIX_LOADED
************************************************
************************************************
ML_NOTFOUND: BADP_NO
ML_NOTFOUND: BADP_LOADED_BY
ML_NOTFOUND: BADP_LOADED
************************************************
4. Daca esti CT si cineva de la TS scrie pe chat, apare ca e de la CT sau daca esti la TS si un CT scrie pe chat apare ca e de la TS . Daca poti sa-mi zici cum modific ar fi perfect .

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

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 13-12-2017, 02:20:23 | Translate post to: ... (Click for more languages)

Incearca asa ar trebui sa iti rezolve toate problemele :

Btw eroare aia e de la fisierul lang.



Retired from Amxmodx

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

[Mentally Stable]



Status: Offline
(since 24-03-2018 14:35)
Joined: 23 Apr 2017
Posts: 32, Topics: 12
Location: Romania

Reputation: 24.1

Post Posted: 13-12-2017, 18:13:46 | Translate post to: ... (Click for more languages)

destroi112 wrote:
Incearca asa ar trebui sa iti rezolve toate problemele :

Btw eroare aia e de la fisierul lang.

Nu merg comenzile de tip / in chat, insa se pare ca culoarea merge, doar ca la admini e tot aceasi problema, ca player apar normal culorile, insa daca esti admin, apare la CT cand scrie un T pe chat, ca e tot la CT..
Daca poti sa rezolvi si asta, ar fi perfect.
Edit : Am observat ca am o eroare in logs : String formatted incorrectly - parameter 5 (total 4).

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

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 15-12-2017, 21:16:08 | Translate post to: ... (Click for more languages)

Da,greseala mea am formatat string-urile invers.
Code:
https://pastebin.com/TEAkBw0e



Retired from Amxmodx

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

[Mentally Stable]



Status: Offline
(since 24-03-2018 14:35)
Joined: 23 Apr 2017
Posts: 32, Topics: 12
Location: Romania

Reputation: 24.1

Post Posted: 16-12-2017, 22:01:34 | Translate post to: ... (Click for more languages)

destroi112 wrote:
Da,greseala mea am formatat string-urile invers.
Code:
https://pastebin.com/TEAkBw0e

https://imgur.com/a/TojaR
Orice ai scrie pe chat apare mesaj-ul de 2 ori (fiind player sau admin) primul mesaj apare "s" orice ai scrie, iar al doilea apare ce ai scris defapt (Ai mai multe detalii in screen-uri).

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 -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 28-03-2024, 16:31:14
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