User
Pass
2FA
 
 

/reguli

 
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) -> Tutorials
Author Message2688
banditu

[Mentally Stable]



Status: Offline
(since 29-05-2021 22:54)
Joined: 21 Nov 2006
Posts: 349, Topics: 106
Location: Romania

Reputation: 548.9
Votes: 9

Post Posted: 01-08-2009, 21:35:10 | Translate post to: ... (Click for more languages)

Am acest plugin:

Code:
#include <amxmodx>
public plugin_init() {
   register_plugin("Regulament","1.0","andrei")
   register_clcmd ("say /regulament" , "regulament" , -1);
   register_clcmd ("say_team /regulament" , "regulament" , -1);
}

public regulament(id) show_motd(id,"/addons/amxmodx/configs/regulament.txt")


Problema este urmatoarea daca in regulament.txt pun multe reguli adica mai multe caractere atunci cand dau say /regulament primesc kick cu mesajul urmator: Reliable Channel Overflow . Daca mai scot din caractere merge ok, ce anume nu stiu ?

0 0
  
Back to top
View user's profile Send private message
nr913
[Banned user]


Banned


Status: Offline
(since 24-10-2013 10:06)
Joined: 24 Apr 2009
Posts: 4224, Topics: 223
Location: România

Reputation: 60.3
Votes: 156

 
Post Posted: 01-08-2009, 22:34:10 | Translate post to: ... (Click for more languages)

amxmodx.org wrote:
The length of the message should not be more than around 1,200 characters - going over this limit could potentially crash the client.


Nu cred ca poti, este de la client. In caz ca reusesti, anunta-ne si pe noi.

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

[Mentally Stable]



Status: Offline
(since 29-05-2021 22:54)
Joined: 21 Nov 2006
Posts: 349, Topics: 106
Location: Romania

Reputation: 548.9
Votes: 9

Post Posted: 01-08-2009, 23:03:40 | Translate post to: ... (Click for more languages)

Am inteles ca ar trebui tot pus intr-un cod HTML nu stiu sigur daca merge.
0 0
  
Back to top
View user's profile Send private message
nr913
[Banned user]


Banned


Status: Offline
(since 24-10-2013 10:06)
Joined: 24 Apr 2009
Posts: 4224, Topics: 223
Location: România

Reputation: 60.3
Votes: 156

 
Post Posted: 01-08-2009, 23:06:15 | Translate post to: ... (Click for more languages)

Daca pui in cod html reduci si mai mult din caractere. Ar mai fi o varianta cu frame catre un link extern. Asta inseamna ca iti trebuie si server web pe deasupra.
0 0
  
Back to top
View user's profile Send private message
banditu

[Mentally Stable]



Status: Offline
(since 29-05-2021 22:54)
Joined: 21 Nov 2006
Posts: 349, Topics: 106
Location: Romania

Reputation: 548.9
Votes: 9

Post Posted: 01-08-2009, 23:11:50 | Translate post to: ... (Click for more languages)

Acum incerc ceva si revin cu un edit e posibil sa nu fie suportat de catre engine motd-ul cu asa de multe caractere
0 0
  
Back to top
View user's profile Send private message
nr913
[Banned user]


Banned


Status: Offline
(since 24-10-2013 10:06)
Joined: 24 Apr 2009
Posts: 4224, Topics: 223
Location: România

Reputation: 60.3
Votes: 156

 
Post Posted: 01-08-2009, 23:17:06 | Translate post to: ... (Click for more languages)

Pai de engine nu e suportat, ca altfel nu ar mai da crash
0 0
  
Back to top
View user's profile Send private message
banditu

[Mentally Stable]



Status: Offline
(since 29-05-2021 22:54)
Joined: 21 Nov 2006
Posts: 349, Topics: 106
Location: Romania

Reputation: 548.9
Votes: 9

Post Posted: 01-08-2009, 23:21:26 | Translate post to: ... (Click for more languages)

Da asa este, ce altceva am mai putea face ?
0 0
  
Back to top
View user's profile Send private message
nr913
[Banned user]


Banned


Status: Offline
(since 24-10-2013 10:06)
Joined: 24 Apr 2009
Posts: 4224, Topics: 223
Location: România

Reputation: 60.3
Votes: 156

 
Post Posted: 01-08-2009, 23:34:22 | Translate post to: ... (Click for more languages)

nr913 wrote:
Ar mai fi o varianta cu frame catre un link extern. Asta inseamna ca iti trebuie si server web pe deasupra.

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

[Mentally Stable]



Status: Offline
(since 29-05-2021 22:54)
Joined: 21 Nov 2006
Posts: 349, Topics: 106
Location: Romania

Reputation: 548.9
Votes: 9

Post Posted: 02-08-2009, 00:00:03 | Translate post to: ... (Click for more languages)

Spune-mi mai exact ce anume sa fac si voi incerca eu am server web
0 0
  
Back to top
View user's profile Send private message
zeuscs

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 13-10-2016 20:23)
Joined: 01 Feb 2009
Posts: 207, Topics: 30
Location: Braila

Reputation: 412.3
Votes: 12

 
Post Posted: 02-08-2009, 08:36:20 | Translate post to: ... (Click for more languages)

Scrii asta in regulament.txt
Code:
<html>
<head>
    <meta http-equiv="refresh" content="0;url=http://www.site.com/regulament.html" />
</head>   
<body></body>
</html>

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
F33lMyPower
[Banned user]


Banned


Status: Offline
(since 29-04-2010 09:41)
Joined: 20 Mar 2010
Posts: 3, Topics: 1
Location: Iran, Islamic Republic of

Reputation: 79.6
Votes: 4

Post Posted: 21-03-2010, 16:47:08 | Translate post to: ... (Click for more languages)

Nu stiu de ce ai pus tu TXT , apar multe erori de la TXT . Mai bine faceai o pagina in HTML , si totul functiona perfect, nu mai apareau erori ! Sfatul meu e sa faci o pagina in HTML .
0 0
  
Back to top
View user's profile Send private message
ion

[prin vacante]



Status: Offline
(since 10-12-2018 10:49)
Joined: 30 Jan 2008
Posts: 7503, Topics: 333
Location: Romania

Reputation: 1770.2
Votes: 191

 
Post Posted: 21-03-2010, 17:21:49 | Translate post to: ... (Click for more languages)

zeuscs wrote:
Scrii asta in regulament.txt
Code:
<html>
<head>
    <meta http-equiv="refresh" content="0;url=http://www.site.com/regulament.html" />
</head>   
<body></body>
</html>


Merge sa scrii si url-ul direct.



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

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by Happy =]], 22 August 2013 11:41



 
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) -> Tutorials  


The time now is 27-04-2024, 08:07:16
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