Plugin 250+ FPS

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
Mariusz.#
Membru, skill +1
Membru, skill +1
Posts: 247
Joined: 20 Jul 2013, 21:49
Detinator Steam: Da
CS Status: Citesc
Detinator server CS: DRX.Evils.Ro[700GR]
SteamID: Zapp38
Location: Nicaieri
Has thanked: 29 times
Contact:

12 Aug 2014, 20:52

Descriere plugin cerut: Cand un jucator depaseste 250 FPS sa ii apara in mijlocul ecranului un mesaj "MAXIM 250 FPS" fara sa ii faca nimica, doream sa ii blocheze si tastele, adica sa nu se poata misca, insa stiu ca nu e voie sa cer asa ceva, ma multumesc doar cu atat
Alte informatii: -
eXtreamSHOP
Cosmin
Fost moderator
Fost moderator
Posts: 9526
Joined: 06 Jul 2013, 21:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 568 times
Been thanked: 587 times

12 Aug 2014, 21:28

instaleaza pluginurile alea https://forums.alliedmods.net/showthread.php?t=66890

+ adaugi asta dupa ce le instalezi pe alea
| Afiseaza codul
#include <amxmodx>
//#include <fakemeta>
#include <get_user_fps>

static const
	PLUGIN[] = "Fps Max",
	VERSION[] = "1.0",
	AUTHOR[] = "C0sm1N";

public plugin_init()
	register_plugin(PLUGIN,VERSION,AUTHOR);

public client_putinserver(id) {
	if(!is_user_bot(id))
		set_task(1.0,"fps",id,_,_,"b")
}
public fps(id){
	new fps = get_user_fps(id);
	if(is_user_alive(id))
	{
		if(fps >= 250)
		{
			set_hudmessage(255, 0, 0, 0.29, 0.28, 0, 6.0, 12.0)
			show_hudmessage(id, "AI VOIE MAXIM 250 FPS !!!")
		}
	}
}
User avatar
HamletEagle
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 751
Joined: 21 Sep 2013, 14:05
Detinator Steam: Da
CS Status: Inactiv cateva zile.
SteamID: privat
Reputatie: Scripter eXtreamCS.com
Fost Moderator ajutator
Has thanked: 20 times
Been thanked: 85 times

13 Aug 2014, 11:18

scosmynnnn wrote:instaleaza pluginurile alea https://forums.alliedmods.net/showthread.php?t=66890

+ adaugi asta dupa ce le instalezi pe alea
| Afiseaza codul
#include <amxmodx>
//#include <fakemeta>
#include <get_user_fps>

static const
	PLUGIN[] = "Fps Max",
	VERSION[] = "1.0",
	AUTHOR[] = "C0sm1N";

public plugin_init()
	register_plugin(PLUGIN,VERSION,AUTHOR);

public client_putinserver(id) {
	if(!is_user_bot(id))
		set_task(1.0,"fps",id,_,_,"b")
}
public fps(id){
	new fps = get_user_fps(id);
	if(is_user_alive(id))
	{
		if(fps >= 250)
		{
			set_hudmessage(255, 0, 0, 0.29, 0.28, 0, 6.0, 12.0)
			show_hudmessage(id, "AI VOIE MAXIM 250 FPS !!!")
		}
	}
}
Foloseste synchud, mai ales cand afisezi mesaje cu un task. get_user_fps nu o sa arate mereu fpsul corect.
Daca vreti ajutorul meu, nu dati bump la topic, fara intrebari de genu "cat mai dureaza/mai astept mult?".
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests