Raised This Month: $ Target: $400
 0% 

There is anyway tp ->


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NoobInAmxx
Senior Member
Join Date: Mar 2006
Location: Turku Finland
Old 02-18-2007 , 09:58   Re: There is anyway tp ->
Reply With Quote #1

Quote:
Originally Posted by FormulaZero View Post
What's your full code?
look roses post and fixed version of it..
__________________
..Im not smart and im not stupid..
NoobInAmxx is offline
Send a message via MSN to NoobInAmxx
NoobInAmxx
Senior Member
Join Date: Mar 2006
Location: Turku Finland
Old 02-19-2007 , 17:32   Re: There is anyway tp ->
Reply With Quote #2

And this plugin is for kzmaps to raise fps.. i dont know if it matter that u cant in most of kz maps water reaches only ancle..

EDIT : Davidos i did try in piranesi wich water is on t spawn
__________________
..Im not smart and im not stupid..

Last edited by NoobInAmxx; 02-19-2007 at 17:34. Reason: yep
NoobInAmxx is offline
Send a message via MSN to NoobInAmxx
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-20-2007 , 00:59   Re: There is anyway tp ->
Reply With Quote #3

This changes all waters on the map.
Code:
#include <amxmodx> #include <fakemeta> public plugin_init() {     register_plugin("", "", "")         register_clcmd("amx_water_transparent", "MakeAllWaterVisible")     register_clcmd("amx_water_invisible", "MakeAllWaterInvisible")         g_maxplayers = get_maxplayers() } public MakeAllWaterInvisible() {     new ent = g_maxplayers     while ( ( ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "func_water") ) ) {         set_pev(ent, pev_renderfx, kRenderFxNone)         set_pev(ent, pev_rendercolor, {0,0,0})         set_pev(ent, pev_rendermode, kRenderTransAlpha)         set_pev(ent, pev_renderamt, 0)     } } public MakeAllWaterVisible() {     new ent = g_maxplayers     while ( ( ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "func_water") ) ) {         set_pev(ent, pev_renderfx, kRenderFxNone)         set_pev(ent, pev_rendercolor, {0,0,0})         set_pev(ent, pev_rendermode, kRenderNormal)         set_pev(ent, pev_renderamt, 0)     } }
[ --<-@ ] Black Rose is offline
NoobInAmxx
Senior Member
Join Date: Mar 2006
Location: Turku Finland
Old 02-20-2007 , 09:20   Re: There is anyway tp ->
Reply With Quote #4

gave me errors when i tryed to compile it..
__________________
..Im not smart and im not stupid..
NoobInAmxx is offline
Send a message via MSN to NoobInAmxx
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-20-2007 , 10:32   Re: There is anyway tp ->
Reply With Quote #5

just add as a public var:
Code:
new g_maxplayers
[ --<-@ ] Black Rose is offline
NoobInAmxx
Senior Member
Join Date: Mar 2006
Location: Turku Finland
Old 02-20-2007 , 17:57   Re: There is anyway tp ->
Reply With Quote #6

Quote:
Originally Posted by [ --<-@ ] Black Rose View Post
just add as a public var:
Code:
new g_maxplayers
i did add and i did compile but still unknown command and its not doing anything to water..
__________________
..Im not smart and im not stupid..
NoobInAmxx is offline
Send a message via MSN to NoobInAmxx
Davidos
Senior Member
Join Date: Feb 2005
Old 02-20-2007 , 11:20   Re: There is anyway tp ->
Reply With Quote #7

Quote:
Originally Posted by [ --<-@ ] Black Rose View Post
This changes all waters on the map.
Code:
#include <amxmodx> #include <fakemeta> public plugin_init() {     register_plugin("", "", "")         register_clcmd("amx_water_transparent", "MakeAllWaterVisible")     register_clcmd("amx_water_invisible", "MakeAllWaterInvisible")         g_maxplayers = get_maxplayers() } public MakeAllWaterInvisible() {     new ent = g_maxplayers     while ( ( ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "func_water") ) ) {         set_pev(ent, pev_renderfx, kRenderFxNone)         set_pev(ent, pev_rendercolor, {0,0,0})         set_pev(ent, pev_rendermode, kRenderTransAlpha)         set_pev(ent, pev_renderamt, 0)     } } public MakeAllWaterVisible() {     new ent = g_maxplayers     while ( ( ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "func_water") ) ) {         set_pev(ent, pev_renderfx, kRenderFxNone)         set_pev(ent, pev_rendercolor, {0,0,0})         set_pev(ent, pev_rendermode, kRenderNormal)         set_pev(ent, pev_renderamt, 0)     } }
Now it doesn't appear to be working at all...
Davidos is offline
Davidos
Senior Member
Join Date: Feb 2005
Old 02-20-2007 , 18:21   Re: There is anyway tp ->
Reply With Quote #8

Quote:
Originally Posted by Davidos View Post
Now it doesn't appear to be working at all...
top that, clcmd is CLIENT, concmd is server, right?

Maybe you need to make it cvar...
Davidos is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-21-2007 , 01:45   Re: There is anyway tp ->
Reply With Quote #9

clcmd is client only
concmd is client + server
servercmd is server only

I will not make it a cvar. That should work.
[ --<-@ ] Black Rose is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode