Search found 105 matches

by crazyfrag
Fri Feb 13, 2009 6:59 am
Forum: ET Modding
Topic: anti prone :-)
Replies: 40
Views: 136095

if ( ((et.gentity_get(j, "s.eFlags")) == 524292) or ( (et.gentity_get(j, "s.eFlags")) == 1572868 ) ) then this wont work cuz if u press console or fire or anything else while prone the bitflag gets to high ... and sometimes u start playing ur bitflag is 4 and sometimes ist 0 so ...
by crazyfrag
Thu Feb 12, 2009 2:55 pm
Forum: ET Modding
Topic: anti prone :-)
Replies: 40
Views: 136095

yes, this will be the easiest way. But if u only change his location then he will be able to stand up...It is not the 100% method to freeze a player. You can try to set him fieldname speed to very low value: et.gentity_set( j, "speed", 0.0 ) -- 0.0 coz speed is a float val...
by crazyfrag
Sun Feb 08, 2009 1:26 am
Forum: ET Modding
Topic: anti prone :-)
Replies: 40
Views: 136095

You cant freeze a player :>. You can move under map if u want :D sure u can u save his location and set it every 200 ms :DDD this is what i found out (eflags= bitflag) active 4 Ready 8 crouch 16 mg42 fix 32 Firing 128 console /talking 512 (limbo etc.) voted 16384 tank 32768 prone 52...
by crazyfrag
Sat Feb 07, 2009 3:05 pm
Forum: ET Modding
Topic: anti prone :-)
Replies: 40
Views: 136095

lolo
by crazyfrag
Fri Feb 06, 2009 2:40 am
Forum: ET Modding
Topic: anti prone :-)
Replies: 40
Views: 136095

if someone is interessted! heres the code! the player gets gibbed in this script.... i've modiefied it to disarm him for 10 seconds samplerate = 200 -- function et_InitGame(levelTime,randomSeed,restart) mclients = tonumber( et.trap_Cvar_Get( "sv_maxClients" ...
by crazyfrag
Sat Jan 17, 2009 11:39 am
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

no i found another way :) --global vars allowedgibs = 1 samplerate = 200 function et_RunFrame( levelTime ) if math.mod(levelTime, samplerate) ~= 0 then return end -- for all clients for cno=0, mclients-1, 1 do if tonumber((et.gentity_get(cno, &...
by crazyfrag
Thu Jan 15, 2009 2:13 pm
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

so ... is there any possibiliti to check when someone gets gibbed?
by crazyfrag
Mon Jan 12, 2009 1:30 pm
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

ty dude u helped me alot :) now it looks like this counta = 0 countb = 0 function et_InitGame(levelTime,randomSeed,restart) mclients = tonumber( et.trap_Cvar_Get( "sv_maxClients" ) ) end function et_ClientBegin( clientNum ) fo...
by crazyfrag
Sun Jan 11, 2009 11:22 am
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

ok i tried a bit more now its looking like this function et_InitGame(levelTime,randomSeed,restart) mclients = tonumber( et.trap_Cvar_Get( "sv_maxClients" ) ) count = 0 counti = 0 end function et_ClientBegin( clientNum ) local ...
by crazyfrag
Sun Jan 11, 2009 9:32 am
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

ok that thing with the color codes :-) did it and it worked but te console still thinks im not alive if i rcon revive me :( A few people have tried messing around with the 'revive' thing and have failed to get it to work properly. I got the same thing as what you said above, and I'm pretty sure Clu...
by crazyfrag
Sun Jan 11, 2009 4:59 am
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

ok that thing with the color codes :-) did it and it worked but te console still thinks im not alive if i rcon revive me :(
by crazyfrag
Sat Jan 10, 2009 3:11 am
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

so i tried thi but it doenst work because the revive can't fidne the target :-( ho do i get the color codes out of the name? function et_Obituary( victim, killer, meansofdeath ) local vteam = tonumber(et.gentity_get(victim, "sess.sessionTeam")&#4...
by crazyfrag
Sat Jan 10, 2009 2:43 am
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

if someone ist dead and hie is speccing a player
an u do " rcon revive name" hie will be revived near the guy he's spectating
by crazyfrag
Fri Jan 09, 2009 10:45 am
Forum: ET Modding
Topic: Detect Gibs
Replies: 13
Views: 72382

Detect Gibs

is it possible to detect if someone is gibbed? and then bring him back 2 life? i tried if &#40;et.gentity_get&#40;targetID,"sess.sessionTeam"&#41;==3&#41; or &#40;et.gentity_get&#40;targetID,"health"&#41; <= -200&#41; then i used et_RunFrame to che...
by crazyfrag
Sat Jan 03, 2009 4:30 am
Forum: ET Modding
Topic: lua load/unload
Replies: 15
Views: 88609

it was easy 4 me to combine the lua with an server,cfg setting called g_luger but the reading out of a vote doesnt work :( really need help with that Version = 1.2 Author = "im2good4u" Description = "Disable Weapons\n" --&#91;&#91;-----------------------------------------...