Deci am si eu un b-hop.amxx pe server care arata un mesaj la 30 de secunde, da doar odata acel mesaj si e colorat mesaju.Nu mai am .sma si doresc sa ii modific si eu culoarea la tag :) va las un .sma de plugin b-hop automat si as dori sa-l faceti sa dea mesaju ala dupa 30 de secunde de la conectare si sa fie colorat.Vreau sa il fixati sa dea doar un mesaj in plugin arata 2 mesaje.
Modificare b-hop
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
- CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
Addons HNS level,gravity,xp DOWNLOAD ( e țeapă)
https://5filme.com/ - un simplu site de filme pentru timpul liber
https://5filme.com/ - un simplu site de filme pentru timpul liber
-
- Membru, skill 0
- Posts: 49
- Joined: 22 Jul 2014, 00:21
- Detinator Steam: Da
- Fond eXtream: 0
- Has thanked: 3 times
- Been thanked: 8 times
- Contact:
Incearca:
Code: Select all
/*
*
* Author: homorapian
* Date: 14-Aug-2005
*
*
* what it is.. It is a bunnyhop that removes the slowdown after a jump. hold it to go faster
*
* Cvars:
* bh_enabled 1 to enable this plugin, 0 to disable.
* bh_autojump If set to 1 players just need to hold down jump to bunny hop (no skill required)
* bh_showusage If set to 1 it will inform joining players that bunny hopping has been enabled
* and how to use it if bh_autojump enabled.
*
* Requirements: amxmodx 1.01 or higher
*
* ************************ I LEARNED THIS PLUGIN FROM ANOTHER Bunnyhop PLUGIN*************************************
*/
#include <amxmodx>
#include <engine>
#include < ColorChat >
#define FL_WATERJUMP (1<<11) // popping out of the water
#define FL_ONGROUND (1<<9) // not moving on the ground
new g_szTag = { "BHOP" }// Tag
public plugin_init() {
register_plugin("Bhop", "1.0", "homorapian")
register_cvar("sbhopper_version", "1.0", FCVAR_SERVER)
register_cvar("bh_enabled", "1")
register_cvar("bh_autojump", "1")
register_cvar("bh_showusage", "1")
}
public client_PreThink(id) {
if (!get_cvar_num("bh_enabled"))
return PLUGIN_CONTINUE
entity_set_float(id, EV_FL_fuser2, 0.0) // Won't slow down after a jump
if (!get_cvar_num("bh_autojump"))
return PLUGIN_CONTINUE
if (entity_get_int(id, EV_INT_button) & 2) {
new flags = entity_get_int(id, EV_INT_flags)
if (flags & FL_WATERJUMP)
return PLUGIN_CONTINUE
if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
return PLUGIN_CONTINUE
if ( !(flags & FL_ONGROUND) )
return PLUGIN_CONTINUE
new Float:velocity[3]
entity_get_vector(id, EV_VEC_velocity, velocity)
velocity[2] += 250.0
entity_set_vector(id, EV_VEC_velocity, velocity)
entity_set_int(id, EV_INT_gaitsequence, 6) // Jump graphics
}
return PLUGIN_CONTINUE
}
public client_putinserver( id ) {
set_task( 30.0, "showUsage", id );
}
public showUsage( id ) {
new pCvarEnabled = get_cvar_num( "bh_enabled" );
new pCvarShowUsage = get_cvar_num( "bh_showusage" );
if( pCvarEnabled == 1 && pCvarShowUsage == 1)
ColorChat( id, RED, "^1[^3%s^1] BunnyHop este^4 activat^1 pe acest server, puteti sari.", g_szTag );
return 0;
}
:meme
-
- Fost moderator
- Posts: 9362
- Joined: 06 Jul 2013, 22:08
- Detinator Steam: Da
- Detinator server CS: Nu
- Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn - Has thanked: 492 times
- Been thanked: 547 times
adica vrei un mesaj sa il dea dupa ce playerul se conecteaza ? pur si simplu un mesaj ?
- CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
@ rumini_uebk 2 errori la compilare
@ scosmynnnn, pluginu de bhop are incorporat el un mesaj dar il dă de 2 ori si nu e colorat.Eu vreau sa-l dea odata si sa fie colorat cum a facut rumini dar sa se compileze X_x .
@ scosmynnnn, pluginu de bhop are incorporat el un mesaj dar il dă de 2 ori si nu e colorat.Eu vreau sa-l dea odata si sa fie colorat cum a facut rumini dar sa se compileze X_x .
Addons HNS level,gravity,xp DOWNLOAD ( e țeapă)
https://5filme.com/ - un simplu site de filme pentru timpul liber
https://5filme.com/ - un simplu site de filme pentru timpul liber
- w3zoo_RedX
- Membru, skill +2
- Posts: 737
- Joined: 21 Dec 2013, 22:16
- Detinator Steam: Da
- CS Status: Scripter CS.
- Detinator server CS: PM.
- SteamID: PM.
- Location: Bucuresti sector 2
- Has thanked: 45 times
- Been thanked: 45 times
- Contact:
- CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
@ w3zoo_RedX,au trecut 2 minute si mesaju acela nu a mai aparut :|
Astept sa fie incontinuare modificat.
Astept sa fie incontinuare modificat.
Addons HNS level,gravity,xp DOWNLOAD ( e țeapă)
https://5filme.com/ - un simplu site de filme pentru timpul liber
https://5filme.com/ - un simplu site de filme pentru timpul liber
- w3zoo_RedX
- Membru, skill +2
- Posts: 737
- Joined: 21 Dec 2013, 22:16
- Detinator Steam: Da
- CS Status: Scripter CS.
- Detinator server CS: PM.
- SteamID: PM.
- Location: Bucuresti sector 2
- Has thanked: 45 times
- Been thanked: 45 times
- Contact:
- CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
Da in logs errori si nu apare mesaju nici dupa 2 minute stand pe server.
- Errori in logs | Afiseaza codul
- Rog daca se poate lucra pe aceasta sursa am adaugat eu un stock de culoare sa imi fie mie mai usor | Afiseaza codul
Addons HNS level,gravity,xp DOWNLOAD ( e țeapă)
https://5filme.com/ - un simplu site de filme pentru timpul liber
https://5filme.com/ - un simplu site de filme pentru timpul liber
- w3zoo_RedX
- Membru, skill +2
- Posts: 737
- Joined: 21 Dec 2013, 22:16
- Detinator Steam: Da
- CS Status: Scripter CS.
- Detinator server CS: PM.
- SteamID: PM.
- Location: Bucuresti sector 2
- Has thanked: 45 times
- Been thanked: 45 times
- Contact:
- CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
- errori logs | Afiseaza codul
Addons HNS level,gravity,xp DOWNLOAD ( e țeapă)
https://5filme.com/ - un simplu site de filme pentru timpul liber
https://5filme.com/ - un simplu site de filme pentru timpul liber
- w3zoo_RedX
- Membru, skill +2
- Posts: 737
- Joined: 21 Dec 2013, 22:16
- Detinator Steam: Da
- CS Status: Scripter CS.
- Detinator server CS: PM.
- SteamID: PM.
- Location: Bucuresti sector 2
- Has thanked: 45 times
- Been thanked: 45 times
- Contact:
- CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
Errori la compilare.
Addons HNS level,gravity,xp DOWNLOAD ( e țeapă)
https://5filme.com/ - un simplu site de filme pentru timpul liber
https://5filme.com/ - un simplu site de filme pentru timpul liber