vis dar tikiuosi kad kas padesitL 06/09/2016 - 17:48:55: [AMXX] Displaying debug trace (plugin "pirmas_mires_cs.amxx", version "1.1")
L 06/09/2016 - 17:48:55: [AMXX] Run time error 10: native error (native "parse_loguser")
L 06/09/2016 - 17:48:55: [AMXX] [0] pirmas_mires_cs.sma::JoinedTeam (line 21)
First Person Death Respawn after 20 seconds
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: First Person Death Respawn after 20 seconds
visiskai taspats
Re: First Person Death Respawn after 20 seconds
Pamegink
19-21 Eilutes Pakeist i
68 Eilute pakeist i
19-21 Eilutes Pakeist i
Code: Select all
new Name[32], loguser[80];read_logargv(0, Name, charsmax(Name));parse_loguser(loguser, Name, charsmax(Name));
Code: Select all
read_logargv(0, loguser, charsmax(loguser));
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: First Person Death Respawn after 20 seconds
ar tu spelioti tiesiok ?Terror wrote:Pamegink
19-21 Eilutes Pakeist i68 Eilute pakeist iCode: Select all
new Name[32], loguser[80];read_logargv(0, Name, charsmax(Name));parse_loguser(loguser, Name, charsmax(Name));
Code: Select all
read_logargv(0, loguser, charsmax(loguser));

-- 2016 Bir 12 16:26 --
ar tu spelioti tiesiok ?Terror wrote:Pamegink
19-21 Eilutes Pakeist i68 Eilute pakeist iCode: Select all
new Name[32], loguser[80];read_logargv(0, Name, charsmax(Name));parse_loguser(loguser, Name, charsmax(Name));
Code: Select all
read_logargv(0, loguser, charsmax(loguser));

Re: First Person Death Respawn after 20 seconds
Ne,pamegink.laimiukas3 wrote:ar tu spelioti tiesiok ?Terror wrote:Pamegink
19-21 Eilutes Pakeist i68 Eilute pakeist iCode: Select all
new Name[32], loguser[80];read_logargv(0, Name, charsmax(Name));parse_loguser(loguser, Name, charsmax(Name));
Code: Select all
read_logargv(0, loguser, charsmax(loguser));

- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: First Person Death Respawn after 20 seconds
Small koduotes tokslaimiukas3 wrote:numesk jaigu nesunku kaip pilnai atrodytu cod

Code: Select all
#include <amxmodx>#include <hamsandwich> const ALLOW_SECS = 20; new HamHook:g_hookKilled;new bool:g_bBlockSpawn[33]; public plugin_init(){ register_plugin("Respawn After 20 Seconds", "1.1", "hleV"); register_clcmd("joinclass", "azazaa"); DisableHamForward((g_hookKilled = RegisterHam(Ham_Killed, "player", "Killed", 1))); register_logevent("logevent_Round_Start", 2, "1=Round_Start") } public client_putinserver(id) g_bBlockSpawn[id] = false; public client_disconnect(id) remove_task(id); public azazaa(id){ if(!g_bBlockSpawn[id]) { new team[2]; read_argv(1, team, charsmax(team)); switch(str_to_num(team)) { case 1, 2: ExecuteHamB(Ham_CS_RoundRespawn, id); } g_bBlockSpawn[id] = true; } } public Killed(Client){ DisableHamForward(g_hookKilled); set_task(float(ALLOW_SECS), "Respawn", Client); } public Respawn(Client){ if(!is_user_alive(Client)) { switch(get_user_team(Client)) { case 1, 2: ExecuteHamB(Ham_CS_RoundRespawn, Client); } }} public logevent_Round_Start(){ for(new i = 1, pls = get_maxplayers(); i <= pls; i++) remove_task(i); EnableHamForward(g_hookKilled);}
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot] and 9 guests