Raised This Month: $ Target: $400
 0% 

There is anyway tp ->


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 02-15-2007 , 13:04   Re: There is anyway tp ->
Reply With Quote #1

its the second one
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
NoobInAmxx
Senior Member
Join Date: Mar 2006
Location: Turku Finland
Old 02-15-2007 , 15:43   Re: There is anyway tp ->
Reply With Quote #2

Quote:
Originally Posted by [ --<-@ ] Black Rose View Post
Don't use FM and engine.
Code:
#include <amxmodx> #include <fakemeta> new transparency public plugin_init() {     register_plugin("Water shit","1.0","Oskar")     transparency = register_cvar("amx_water_transparency","120")     register_clcmd("amx_water_transparent","cmd_transparent",ADMIN_ADMIN)     register_clcmd("amx_water_invisible","cmd_invisible",ADMIN_ADMIN) } public cmd_transparent(id) {     new ent, body     get_user_aiming(id,ent,body)         if(!pev_valid(ent))         return         new classname[32]     pev(ent,pev_classname,classname,31)         if(!equali(classname,"func_water"))         return         pev(ent, pev_renderfx, kRenderFxGlowShell)     pev(ent, pev_rendercolor, {0,0,0})     pev(ent, pev_rendermode, kRenderTransAlpha)     pev(ent, pev_renderamt, get_pcvar_num(transparency))     // set_rendering(ent,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,get_pcvar_num(transparency)) } public cmd_invisible(id) {     new ent, body     get_user_aiming(id,ent,body)         if(!pev_valid(ent))         return         new classname[32]     pev(ent,pev_classname,classname,31)         if(!equali(classname,"func_water"))         return         pev(ent, pev_renderfx, kRenderFxGlowShell)     pev(ent, pev_rendercolor, {0,0,0})     pev(ent, pev_rendermode, kRenderTransAlpha)     pev(ent, pev_renderamt, 0)     // set_rendering(ent,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,0) }
EDIT: Thank you P34nut
Stilll unknow command
__________________
..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-15-2007 , 16:30   Re: There is anyway tp ->
Reply With Quote #3

Quote:
Originally Posted by NoobInAmxx View Post
Stilll unknow command
Ignore it. I get it all the time but the command still works. But I've never understood why it does that.
[ --<-@ ] Black Rose is offline
Old 02-16-2007, 11:05
Oskar
This message has been deleted by Oskar.
Oskar
BANNED
Join Date: Jan 2007
Location: Slöinge, Falkenberg, Hal
Old 02-17-2007 , 08:31   Re: There is anyway tp ->
Reply With Quote #5

Are you shure you are aiming on a func_water entity?
Oskar is offline
Send a message via MSN to Oskar
NoobInAmxx
Senior Member
Join Date: Mar 2006
Location: Turku Finland
Old 02-17-2007 , 09:12   Re: There is anyway tp ->
Reply With Quote #6

Hmm i have tryed in some waters give me example of func water ?
__________________
..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-17-2007 , 10:47   Re: There is anyway tp ->
Reply With Quote #7

Quote:
Originally Posted by NoobInAmxx View Post
Hmm i have tryed in some waters give me example of func water ?
All waters are probably func_water.
[ --<-@ ] Black Rose is offline
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 02-17-2007 , 10:50   Re: There is anyway tp ->
Reply With Quote #8

or a sprite
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-17-2007 , 10:51   Re: There is anyway tp ->
Reply With Quote #9

w/e the problem is pev() should be set_pev(), I'm sorry for that, totally my bad.
And then it should work.

EDIT: Theres 2 modes, visible or totally invisible.

Visible:
Code:
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)
Invisible:
Code:
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)

Last edited by [ --<-@ ] Black Rose; 02-17-2007 at 11:10.
[ --<-@ ] Black Rose is offline
FormulaZero
BANNED
Join Date: Feb 2007
Location: Sector 7G
Old 02-17-2007 , 18:57   Re: There is anyway tp ->
Reply With Quote #10

What's your full code?
FormulaZero 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