Raised This Month: $7 Target: $400
 1% 

Showing results 1 to 25 of 500
Search took 0.11 seconds.
Search: Posts Made By: anakin_cstrike
Forum: Scripting Help 04-22-2012, 15:50
Replies: 1
Views: 1,018
Posted By anakin_cstrike
set_weapon_ammo incorrect on some weapons

Works fine with every weapon i've tested except for xm1014 and scout, it always sets to 1 ammo even if it should have set 2 or 3..
The value shown is correct though..

static i_Weapon, i_Ammo, i,...
Forum: Scripting Help 03-21-2012, 14:11
Replies: 0
Views: 719
Posted By anakin_cstrike
query client cvar [solved]

public SettingValue ( id, s_Param[ ], s_Value[ ] )
{
if ( ! strcmp ( s_Value, "1" ) )
return 1;

return 0;
}


EDIT: i managed to make it work, the problem was at query_client_cvar...
Forum: Scripting Help 03-14-2012, 22:58
Replies: 7
Views: 2,337
Posted By anakin_cstrike
Re: Regex pattern for hostnames

Seems to work fine, thanks
How can i add more subdomains like ".ro" or ".info" ?
also is there any chance on getting that optimizated? i mean if i write "word word word word net" it matches but i...
Forum: Scripting Help 03-14-2012, 21:13
Replies: 7
Views: 2,337
Posted By anakin_cstrike
Re: Regex pattern for hostnames

doesn't work
www google com
doesn't match
Forum: Scripting Help 03-14-2012, 19:27
Replies: 7
Views: 2,337
Posted By anakin_cstrike
Re: Regex pattern for hostnames

works, thanks
but how about when i write "www.google. com" or "www. address . com" i mean, those spaces/blanks

EDIT: ok i tried something and seems to work xD

([a-z0-9\-]+\.|[a-z0-9\-]+\...
Forum: Scripting Help 03-14-2012, 18:37
Replies: 7
Views: 2,337
Posted By anakin_cstrike
Regex pattern for hostnames

Hi. I tried several patters hoping some of them will work, but none worked properly.
cs.example.com
www.test.net
etc..

...
Forum: Scripting Help 03-13-2012, 13:19
Replies: 14
Views: 3,139
Posted By anakin_cstrike
Re: Connecting to a different server & get info

the 2 servers are "close" to each other, they're both hosted at the same company, the same datacenter (@DjOptimuS)
and no, i'm not tryign the get any data from the same server

EDIT: Ok i've...
Forum: Scripting Help 03-13-2012, 09:36
Replies: 14
Views: 3,139
Posted By anakin_cstrike
Forum: Scripting Help 03-12-2012, 16:44
Replies: 14
Views: 3,139
Posted By anakin_cstrike
Re: Connecting to a different server & get info

i justed copied both _example and _api plugins and used sq_server, sq_players command...it's says "acquiring..." but won't show anything...after 5 minutes if i use the command again it shows...
Forum: Scripting Help 03-12-2012, 12:21
Replies: 14
Views: 3,139
Posted By anakin_cstrike
Forum: Scripting Help 03-11-2012, 12:46
Replies: 14
Views: 3,139
Posted By anakin_cstrike
Connecting to a different server & get info

Let's say i have two servers. On the 1st one i want to install a plugin wich retrieves the num of active players on the 2nd server, in order to do something else later on.
How can i do that? maybe...
Forum: Scripting Help 02-25-2012, 12:15
Replies: 9
Views: 2,073
Posted By anakin_cstrike
Re: How can I get a port of players when they come my server?

not the len part was the problem, but the last parameter
Forum: Scripting Help 02-24-2012, 06:46
Replies: 9
Views: 2,073
Posted By anakin_cstrike
Re: How can I get a port of players when they come my server?

get_user_ip ( id, ip, len, withoutport=0 )
so that will return the player's ip without the port

smth like this

new s_IP[ 22 ], s_Port[ 6 ];
get_user_ip ( id, s_IP, 21 );
copy ( s_Port, 5,...
Forum: Scripting Help 02-23-2012, 12:18
Replies: 5
Views: 1,250
Posted By anakin_cstrike
Forum: Scripting Help 02-23-2012, 08:34
Replies: 2
Views: 954
Posted By anakin_cstrike
Re: loading from file tag mistach

clamp ( wichvalue, minvalue, maxvalue )
Forum: Scripting Help 02-23-2012, 08:32
Replies: 5
Views: 1,250
Posted By anakin_cstrike
Re: Retrieving hours spent on server from psychostats

i know what needs to be used, it's just that i don't exactly know how do to it, i'll try smth though
Forum: Scripting Help 02-23-2012, 07:15
Replies: 5
Views: 1,250
Posted By anakin_cstrike
Retrieving hours spent on server from psychostats

Let's say i have this stats.mysite.com
http://img717.**************/img717/4510/statsmi.png
and so on..

I want the get the player's time on the server when he uses a command like "say /mytime",...
Forum: Plugins 02-20-2012, 21:06
Replies: 28
Views: 23,315
Posted By anakin_cstrike
Re: [CS:S] Explosive Barrels

well compile it locally, in your pc
Forum: Zombie Plague Mod 02-20-2012, 20:52
Replies: 44
Views: 29,294
Posted By anakin_cstrike
Re: [ZP] Class: Sniper Zombie [UpDATE!]

why can't i use the sniper rifle? http://img189.**************/img189/1696/2012022100005.jpg
if i look a the player it shows the model
can't even fire

sry new to zp :D
Forum: Scripting Help 02-19-2012, 11:34
Replies: 3
Views: 1,111
Posted By anakin_cstrike
Re: Stack error problem

works, thanks

EDIT: where can i find the whole list with these constants? like CSA_AWP
Forum: Scripting Help 02-19-2012, 09:52
Replies: 3
Views: 1,111
Posted By anakin_cstrike
Stack error problem [SOLVED]

I'm getting this error
[AMXX] Run time error 3: stack error
and if i remove this line
engclient_cmd ( id, "drop", gs_WeaponsName[ i_Index ] ); it works fine

here's the code

#include <...
Forum: Scripting Help 02-18-2012, 09:54
Replies: 1
Views: 1,088
Posted By anakin_cstrike
Re: Help with filtering CT/T in loop

get_players(players, pnum, "ae", "CT");
Forum: Scripting Help 02-18-2012, 09:53
Replies: 5
Views: 1,317
Posted By anakin_cstrike
Re: Parse method

i don't see why using 1st, pointless...
Forum: Scripting Help 02-13-2012, 10:32
Replies: 14
Views: 2,590
Posted By anakin_cstrike
Re: Give gun randomly

sometimes = random, you never know. If you want to make sure he gets a weapon then it wouldn't be random, right?
Forum: Scripting Help 02-10-2012, 11:48
Replies: 2
Views: 906
Posted By anakin_cstrike
Re: Lock switch to another team.

most likely you have ven's plugin auto join on connect, just disable it from plugins.ini or add this in amxx.cfg at the end:
ajc_team 0
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 04:23.


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