Search found 239 matches

by SilentAngel
Thu Jan 05, 2012 5:36 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

Yeah I see what you mean man. :)
I 'll try to find out a way on my own. wish me good luck! lol :wink:
by SilentAngel
Wed Dec 28, 2011 7:01 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

What about .entnum? I thought that covered it.
Yes I've found it casually when trying to find a way to turn slot to player arr index..
I would like to know 1 more thing guys. Don't want to start another thread for this. I'm just curious!
I've read that STWH is done renaming maps..or something like ...
by SilentAngel
Tue Dec 13, 2011 7:05 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

You could also look at the unofficial 1.12 patch, they have injected the piece of code to retrieve player names in script IIRC.
ooh ty very much!! I will have a look! actually I've made a little 3rd part application to read player list from status and fill some cvars with slots player names, ip ...
by SilentAngel
Sat Dec 10, 2011 9:43 am
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

humm..I wonder how those guys of CI did the trick...
by SilentAngel
Thu Dec 08, 2011 11:39 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

from slot to $player

Hi! :D
I have some code that has to be executed via scripting but it's called from another program. This program works with slots number.
Supposing I want this script code to be exec for a player that is in slot 0, how can I know the index of the $player array for this player?
Initially I used to ...
by SilentAngel
Tue Nov 22, 2011 5:04 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

main:

waitthread messages

end

messages:

println "THIS CODE WORKS GOOD" //this is for debugging reasons!
//if it's not necessary in other scripts there's no need to
//delcare level.mapname...

switch(getcvar(mapname))
{
case "dm/mohdm1":
exec global/messages/rifle.scr
exec global ...
by SilentAngel
Tue Nov 22, 2011 8:27 am
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

If you are exec it From DMprechace.scr then level waittill prespawn will give you error becouse here you are tryin to execute code before prespawn while DMprechace is automaticaly loaded AFTER level waittill prespawn. Leave out this line and it should work! Also remember to use one end to close your ...
by SilentAngel
Mon Nov 21, 2011 9:46 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

Ok..just some suggestions..
I'm with the phone so i Try to write less possible :)
Insert level waittill prespawn inside main and use break instead of end inside switch sentences..also you closed curly brackets when not necessary..just use one to open switch and one to close it! However it's a Good ...
by SilentAngel
Sun Nov 20, 2011 1:04 am
Forum: General Discussion
Topic: Lost + found
Replies: 5
Views: 776

I've installed it again and now it seems to work....hummm.that's really strange..I want to get more info about this...
by SilentAngel
Thu Nov 17, 2011 5:37 pm
Forum: General Discussion
Topic: Lost + found
Replies: 5
Views: 776

This Is Silly!!!

I have a spearhead server. Everytime I play in it the mouse sensibility increase really a lot!! To avoid this EVERYTIME i enter the game I have to click on mouse sensibility bar in main options..Also even if the sensibility is increased the sensibility bar is still at the usual level!! WHY DOES IT ...
by SilentAngel
Sat Nov 12, 2011 12:13 am
Forum: Skinning / Modelling
Topic: Lost + found
Replies: 0
Views: 542

make fg42 work good?

Guys, is there a way to make the fg42 working good? I googled it but i only found it as a replace for kar98sniper..i need it working without replace any other model! A client side mod will be beautiful ;) I don't know nothing about modelling so I'm asking you. Can someone send me a mod like this or ...
by SilentAngel
Wed Nov 09, 2011 12:58 am
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

What about hex editing bsp adding a targername?? Or maybe removeclass to remove all func_rotatingdoor and then spawn them via scripting again but giving them a targername too?...
by SilentAngel
Tue Nov 08, 2011 2:06 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

So no way to open a door knowing the entity number of the func_rotatingdoor of it has no targername? :/ ..so sad..
by SilentAngel
Tue Nov 08, 2011 1:16 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

access object via entity number...

Is it possible?
by SilentAngel
Sat Nov 05, 2011 4:53 pm
Forum: Scripting
Topic: Lost + found
Replies: 152
Views: 9957

ahah I forgot to add "self use..."
now it works...
WHAT A USELESS POST! :roll: