User
Pass
2FA
 
 

[rezolvat]Cerere Plugin Ajutor
Go to page Previous  1, 2    
 
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 Message2673
asantel

[Mentally Stable]



Status: Offline
(since 24-12-2017 21:49)
Joined: 21 Jan 2015
Posts: 76, Topics: 9
Location: United Kingdom

Reputation: 77.5
Votes: 2

Post Posted: 13-05-2015, 16:02:35 | Translate post to: ... (Click for more languages)

Din pacate nu merge . Arata cate secunde ai dar nu respawneaza cand mori ...... si vroiam sa te intreb ce inseamna aceasta eroare ?

L 05/13/2015 - 16:44:31: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/deathrun_duel.txt" line 1)

0 0
  
Back to top
View user's profile Send private message
-P!C@-

[Simply Normal]



Status: Offline
(since 21-04-2022 19:07)
Joined: 28 May 2012
Posts: 21086, Topics: 1601
Location: Constanta

Reputation: 1870.3
Votes: 781

Post Posted: 13-05-2015, 18:37:02 | Translate post to: ... (Click for more languages)

Baga fisierul asta: http://www.girlshare.ro/34756928.8 (in data/lang)



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-05-2015, 18:46:22 | Translate post to: ... (Click for more languages)

Incearca asta am modificat putin pluginul pe care ti l-a dat pico.
Code:

#include <amxmodx>
#include <cstrike>
#include <hamsandwich>

new const PLUGIN[] = "Deathrun Respawn Time";
new const VERSION[] = "1.4";
new const AUTOR[] = "Adventx";

#define RESPAWN_TASK 3462

// CVARs
new cvar_respawn_time;

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTOR);

// Logevent
register_logevent("event_Round_Start", 2, "1=Round_Start");

// Ham Forwards
RegisterHam(Ham_Killed, "player", "fw_PlayerKilled", 0);

// CVARs
cvar_respawn_time = register_cvar("deathrun_respawn_time", "40");
}

public event_Round_Start()
{
set_task(get_pcvar_float(cvar_respawn_time), "TASK_Respawn", RESPAWN_TASK);
ChatColor(0, "!g[Deathrun] !nYou have !t%d !nseconds time respawn", get_pcvar_num(cvar_respawn_time));

return PLUGIN_CONTINUE;
}

public fw_PlayerKilled(id)
{
if (cs_get_user_team(id) == CS_TEAM_CT && task_exists(RESPAWN_TASK))
ExecuteHamB(Ham_CS_RoundRespawn, id);
}

public TASK_Respawn(id)
{
ChatColor(id, "!g[Deathrun] !nYou do not have respawn");
remove_task(RESPAWN_TASK);
}

stock ChatColor(const id, const input[], any:...)
{
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);

replace_all(msg, 190, "!g", "^4"); // Green Color
replace_all(msg, 190, "!n", "^1"); // Default Color
replace_all(msg, 190, "!t", "^3"); // Team Color
replace_all(msg, 190, "!t2", "^0"); // Team2 Color

if (id) players[0] = id; else get_players(players, count, "ch"); {
for (new i = 0; i < count; i++) {
if (is_user_connected(players[i])) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}



Retired from Amxmodx

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

[Mentally Stable]



Status: Offline
(since 24-12-2017 21:49)
Joined: 21 Jan 2015
Posts: 76, Topics: 9
Location: United Kingdom

Reputation: 77.5
Votes: 2

Post Posted: 14-05-2015, 15:55:53 | Translate post to: ... (Click for more languages)

Din pacate linia asta
L 05/14/2015 - 16:49:57: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/deathrun_duel.txt" line 1)
Tot asa apare si pluginu de respawn nu merge . Mori dar nu repawneaza .....

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: 14-05-2015, 19:14:10 | Translate post to: ... (Click for more languages)

Apare vreo eroare in consola ,de la respawn ?
posteaza deathrun_duel.txt si spune-mi pe ce limba e setat default svr tau.



Retired from Amxmodx

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

[Mentally Stable]



Status: Offline
(since 24-12-2017 21:49)
Joined: 21 Jan 2015
Posts: 76, Topics: 9
Location: United Kingdom

Reputation: 77.5
Votes: 2

Post Posted: 15-05-2015, 18:12:26 | Translate post to: ... (Click for more languages)

Scuzati ca raspund asa greu dar sunt cam ocupat cu munca .
Acesta e fisierul .txt de la duel original

http://www.girlshare.ro/34756928.8

Si in legatura cu respawn , nu apare nimik in consola ..... doar mesajul ca mai sunt 40 de secunde ramase din respawn .

Cand ma arunc in capcana si mor asa raman nu ma respawneaza ....

0 0
  
Back to top
View user's profile Send private message
-P!C@-

[Simply Normal]



Status: Offline
(since 21-04-2022 19:07)
Joined: 28 May 2012
Posts: 21086, Topics: 1601
Location: Constanta

Reputation: 1870.3
Votes: 781

Post Posted: 15-05-2015, 18:22:27 | Translate post to: ... (Click for more languages)

Poftim arhiva cu tot ce trebuie insclusiv fisierul txt: http://www.girlshare.ro/34761886.5



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-05-2015, 21:36:39 | Translate post to: ... (Click for more languages)

vezi asa..
Code:

#include <amxmodx>
#include <cstrike>
#include <hamsandwich>

new const PLUGIN[] = "Deathrun Respawn Time";
new const VERSION[] = "1.4";
new const AUTOR[] = "Adventx";

new g_respawn;
new cvar_respawn_time;

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTOR);
register_logevent("event_Round_Start", 2, "1=Round_Start");
RegisterHam(Ham_Killed, "player", "fw_PlayerKilled", 0);
cvar_respawn_time = register_cvar("deathrun_respawn_time", "40");
}

public event_Round_Start()
{
g_respawn = true;
set_task(get_pcvar_float(cvar_respawn_time), "TASK_Respawn");
ChatColor(0, "!g[Deathrun] !nYou have !t%d !nseconds time respawn", get_pcvar_num(cvar_respawn_time));

return PLUGIN_CONTINUE;
}

public fw_PlayerKilled(id)
{
if (cs_get_user_team(id) == CS_TEAM_CT && g_respawn)
ExecuteHamB(Ham_CS_RoundRespawn, id);
}

public TASK_Respawn(id)
{
ChatColor(id, "!g[Deathrun] !nYou do not have respawn");
g_respawn = false;
}

stock ChatColor(const id, const input[], any:...)
{
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);

replace_all(msg, 190, "!g", "^4"); // Green Color
replace_all(msg, 190, "!n", "^1"); // Default Color
replace_all(msg, 190, "!t", "^3"); // Team Color
replace_all(msg, 190, "!t2", "^0"); // Team2 Color

if (id) players[0] = id; else get_players(players, count, "ch"); {
for (new i = 0; i < count; i++) {
if (is_user_connected(players[i])) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}



Retired from Amxmodx

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

[Mentally Stable]



Status: Offline
(since 24-12-2017 21:49)
Joined: 21 Jan 2015
Posts: 76, Topics: 9
Location: United Kingdom

Reputation: 77.5
Votes: 2

Post Posted: 20-05-2015, 13:01:36 | Translate post to: ... (Click for more languages)

-P!C@- wrote:
Poftim arhiva cu tot ce trebuie insclusiv fisierul txt: http://www.girlshare.ro/34761886.5


Asta merge . Mutumesc .

In legatura cu respawn la fel face . Nu respawneaza

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: 20-05-2015, 14:46:27 | Translate post to: ... (Click for more languages)

Ai un plugin care blocheaza functia asta .


Retired from Amxmodx

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

  Topic locked


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

Locked by TwisTer, 22 May 2015 15:48



 
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  
Go to page Previous  1, 2    


The time now is 01-08-2025, 09:20:31
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password