Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 21 of 21
Search took 0.00 seconds.
Search: Posts Made By: sader
Forum: Scripting Help 11-18-2011, 13:56
Replies: 6
Views: 1,729
Posted By sader
Re: get_user_info problem

if(val[0] == 0)

is the way I check if cl_varaiable exists and value is not "". I am not sure what would be right way to do it, but I can't find function such if_client_var_exists()
Forum: Scripting Help 11-18-2011, 07:05
Replies: 6
Views: 1,729
Posted By sader
Re: get_user_info problem

I'm trying to generate uniqe ID for user and store it on clients config.cfg, so next time he logs in I check if player already has an ID if he doens't then new ID is generated.
Forum: Scripting Help 11-17-2011, 20:00
Replies: 6
Views: 1,729
Posted By sader
get_user_info problem

Hi
I am trying to get client var value, but it looks so that if user is working on 64bit OS it doesn't work. I know that command client_cmd(id, "setinfo var value") works, cuz after I exit CS game...
Forum: Scripting Help 11-17-2011, 19:57
Replies: 0
Views: 829
Posted By sader
get_user_info problem

text removed
Forum: Scripting 11-16-2011, 10:41
Replies: 1
Views: 737
Posted By sader
HUD disapering bug

Hello
I am having this bug:
Sometimes user interface details such crosshair, money, ammo disappears and also I can't no longer switch another weapon.

Maybe some of you had same kind problems &...
Forum: Scripting Help 08-15-2011, 11:03
Replies: 6
Views: 1,519
Posted By sader
Re: 3 plugins in 1 .

It compiles successfully so should work


#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
// ColorChat Included
enum CC_Colors
{
Forum: Scripting Help 08-14-2011, 16:28
Replies: 14
Views: 2,702
Posted By sader
Re: How are blocks of commands

You don't need plugin for that.
Just dont give 'g' flag for admins access level

http://wiki.amxmodx.org/Adding_Admins_(AMX_Mod_X)
Forum: Scripting Help 08-14-2011, 16:17
Replies: 0
Views: 840
Posted By sader
Ham_Player_UpdateClientData server crashes

If I regist this event Ham_Player_UpdateClientData server crashes when player is connecting to server and almost finishes precache progress.

Error i get in terminal is "segmentation fault".
...
Forum: Scripting Help 08-14-2011, 14:31
Replies: 8
Views: 1,590
Posted By sader
Re: Setting models on the moment, not on next spawn

I am not 100% sure but I saw this function cs_reset_user_model(player) so I believe you must call it after you call cs_set_user_model
Forum: Scripting Help 08-14-2011, 10:29
Replies: 1
Views: 831
Posted By sader
Re: Registering Events

Its name of event/mesage. They are writen in huge letter first three of them are:
ADStop


AllowSpec


AmmoPickup
Forum: Scripting Help 08-13-2011, 17:23
Replies: 11
Views: 3,620
Posted By sader
Re: Plugin warnings

Its wrong number of tab spaces

http://forum.sa-mp.com/showthread.php?t=98464

You can set #pragma tabsize 0 or just ignore
Forum: Scripting Help 08-12-2011, 23:34
Replies: 9
Views: 2,099
Posted By sader
Re: How to chek if player is connected and is in CT or T team?

But you must strore players ID somewhere,somehow.
You can loop through players and do some checks


for(new i=1; i<=32; i++)
{
if(is_user_alive(i))
{
}
}
Forum: Scripting Help 08-12-2011, 23:23
Replies: 9
Views: 2,099
Posted By sader
Re: How to chek if player is connected and is in CT or T team?

Well you asked how to check if player is connected and on what team he is.
Yes from your code prototype I see you compare two players, but what exactly you trying to achieve?
Forum: Scripting Help 08-12-2011, 23:09
Replies: 9
Views: 2,099
Posted By sader
Re: How to chek if player is connected and is in CT or T team?

Try this way

#include <cstrike>

public client_spawn(this)
{
if(cs_get_user_team(this) == CS_TEAM_CT)
{

}
Forum: Scripting Help 08-12-2011, 19:51
Replies: 4
Views: 1,155
Posted By sader
Re: Can't find function

Thak you for those class names. I made what I wanted to make with fakemeta, thanks.
Forum: Scripting Help 08-12-2011, 17:17
Replies: 4
Views: 1,155
Posted By sader
Re: Can't find function

Ok.. Thanks. Strange that there is no such function :) but at least you gived me good direction
Forum: Scripting Help 08-12-2011, 16:56
Replies: 4
Views: 1,155
Posted By sader
Can't find function

Hi
What is function to check map type? DEFUSE, VIP ?
Looking through al funcs-list cannot find it.
Forum: General 08-09-2011, 13:15
Replies: 10
Views: 3,333
Posted By sader
Re: amx_banmenu predefined ban+time+reason+info howto?

Did you had look at this new amxbanx version http://www.hlxbans.net/ ?
It looks now it has this feature. But in case you will try check them out create your current database backups
Forum: General 08-09-2011, 13:11
Replies: 3
Views: 2,105
Posted By sader
Re: amxx langmenu too much english options?

how your lang files looks like?
Forum: General 08-08-2011, 12:36
Replies: 3
Views: 1,687
Posted By sader
Re: Several mods shared server files. How?

Thanks for this idea Fysiks. I almost done with writing small program to copy base files and create symlinks for my another server. I will look how this method will work
Forum: General 08-06-2011, 16:22
Replies: 3
Views: 1,687
Posted By sader
Several mods shared server files. How?

Hello
I would like to ask what is proper way to launch several servers on diffrent ports with different mods using same(shared) server files.
Every well made mod (gg,csdm) has it's own resource...
Showing results 1 to 21 of 21

 
Forum Jump

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


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