hlmod.hu
https://hlmod.hu/

Kör eleji Üzenet
https://hlmod.hu/viewtopic.php?f=9&t=11444
Oldal: 1 / 2

Szerző:  kecske123 [ 2013.10.28. 17:17 ]
Hozzászólás témája:  Kör eleji Üzenet

/*==========================================================================================

AMX Round Count v0.0.1
Copyright © 2010 by Duna. All rights reserved.

Last Update: 29/11/2010
Visit: www.csduna.blogspot.com


-*- Description -*-

At the beginning of each round, the plugin will display a message on the hud,
stating the number of round and along with the message, a sound.
There are 4 different sounds.

Enjoy!

===========================================================================================*/

#include <amxmodx>
#include <amxmisc>

new const PLUGIN [] = "AMX Round Count"
new const VERSION [] = "0.0.1"
new const AUTHOR [] = "Duna"

new g_roundCount

public plugin_init(){
register_plugin(PLUGIN,VERSION,AUTHOR)
register_event("RoundTime", "roundcount", "bc")
register_event("TextMsg","reset_counter","a","2&#Game_C","2&#Game_w")
return PLUGIN_CONTINUE
}

new prepare_sounds[][] =
{
"icor3_rcount/prepare1",
"icor3_rcount/prepare2",
"icor3_rcount/prepare3",
"icor3_rcount/prepare4"
};

public roundcount()
if ( read_data(1) == floatround(get_cvar_float("mp_roundtime") * 60.0) ) {

++g_roundCount

new r = random(256)
new g = random(256)
new b = random(256)

set_hudmessage(random(256), random(256), random(256), -1.0, 0.30, 0, 6.0, 6.0)
show_hudmessage(0,"^nKeszisd elo a Fegyveredet!^nKeszulj fel a Harcra!", g_roundCount)

client_cmd(0,"spk %s",prepare_sounds[random(sizeof prepare_sounds)]);
}

public reset_counter(){
g_roundCount = 0
}

public plugin_precache(){
precache_sound("icor3_rcount/prepare1.wav")
precache_sound("icor3_rcount/prepare2.wav")
precache_sound("icor3_rcount/prepare3.wav")
precache_sound("icor3_rcount/prepare4.wav")
return PLUGIN_CONTINUE
}

/*==========================================================================================
the end ...
===========================================================================================*/

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1046{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/

ez kéne nekem Ékezetekkel

Szerző:  DanKe16 [ 2013.10.28. 20:34 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

Rakd bele sma-ba! Tudod azért van , hogy ne kelljen fél percig görgőzni!
amúgy meg itt minden le van írva!
[TUT] Speciális karakterek (Ékezetek)

Szerző:  kecske123 [ 2013.10.29. 16:46 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

Ezt hova irjam? hogy Client_print?

Szerző:  slre141 [ 2013.10.30. 09:22 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

Hali Teszt nem volt irj ha nem jo ;)

Csatolmányok:
round.sma [1.94 KiB]
Letöltve 113 alkalommal.

Szerző:  kecske123 [ 2013.10.30. 19:12 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

/src/phpObpPMw.sma(1) : error 010: invalid function or declaration
/src/phpObpPMw.sma(58) : warning 204: symbol is assigned a value that is never used: "b"
/src/phpObpPMw.sma(58) : warning 204: symbol is assigned a value that is never used: "g"
/src/phpObpPMw.sma(58) : warning 204: symbol is assigned a value that is never used: "r"

1 Error.
Could not locate output file /bin/phpObpPMw.amx (compile failed).

Szerző:  Arkshine [ 2013.10.30. 19:16 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

[kozep]Your plugin successfully compiled!

Use the link below to download your plugin. It will be valid for ten minutes.

http://www.amxxcomp.com/index.php?go=dl&id=21084[/kozep]

Kód:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size:            388 bytes
Code size:             1124 bytes
Data size:             1464 bytes
Stack/heap size:      16384 bytes; estimated max. usage=778 cells (3112 bytes)
Total requirements:   19360 bytes
Done.


kecske123 írta:
Nem lehet áttalakitani

Szerző:  slre141 [ 2013.10.30. 19:19 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

Amxmodx studioval akkarod? Én avval csinálom és jó

Szerző:  slre141 [ 2013.10.30. 19:21 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size: 388 bytes
Code size: 1124 bytes
Data size: 1448 bytes
Stack/heap size: 16384 bytes; estimated max. usage=778 cells (3112 bytes)
Total requirements: 19344 bytes


Done.

Szerző:  Arkshine [ 2013.10.30. 19:22 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

Ugye ezt viccnek szántad. Az AMXMODX stúdió azt is lefordítsa, amibe 586 error van. Írok egy Petőfi verset az sma -ba, és hidd el, lefordítsa. Ne AMXMODX stúdióval fordíts, csak akkor, ha hibátlan a plugin.

slre141 írta:
Amxmodx studioval akkarod? Én avval csinálom és jó

Szerző:  slre141 [ 2013.10.30. 19:33 ]
Hozzászólás témája:  Re: Kör eleji Üzenet

Megbirom csinálni csak a visza számlálot bele irni az nem megy a töbi az menne :)

Oldal: 1 / 2 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/