Raised This Month: $114 Target: $400
 28% 

Showing results 1 to 25 of 100
Search took 0.01 seconds.
Search: Posts Made By: CsIosefin
Forum: Scripting Help 11-23-2012, 08:41
Replies: 8
Views: 1,458
Posted By CsIosefin
Re: Translated language equal to 1

I understand that I have no chance to do it with this method?
hits == 1 ? "HIT" : "HITS"
Forum: Scripting Help 11-23-2012, 08:29
Replies: 8
Views: 1,458
Posted By CsIosefin
Re: Translated language equal to 1

I found the solution to this:
(LANG_PLAYER, hits == 1) ? "HIT" : "HITS")

Here's the code to which reference.
for(new i = 0; i < number; i++)
{
get_user_rstats(players[i], stats, body)...
Forum: Scripting Help 11-22-2012, 15:35
Replies: 8
Views: 1,458
Posted By CsIosefin
Re: Translated language equal to 1

I made a fix as I said OnePL
We code:
len += format(buffer[len], 2047 - len, "%L: %s^n%d %L -- %d %s^n", LANG_PLAYER, "MOST_DMG", name, damage, LANG_PLAYER, "DMG", hits, LANG_PLAYER, hits == 1 ?...
Forum: Scripting Help 11-22-2012, 13:32
Replies: 8
Views: 1,458
Posted By CsIosefin
Re: Translated language equal to 1

I tried this method, but I get erroarea:
Host_Error: UserMsg: Not Present on Client 25
If you use this method:
(LANG_PLAYER, hits == 1) ? "HIT" : "HITS"
I translate fix I enter ""
Do you know...
Forum: Scripting Help 11-21-2012, 09:11
Replies: 8
Views: 1,458
Posted By CsIosefin
Translated language equal to 1

Hello, is it possible to make such translation:
(hits == 1) ? "LANG_PLAYER, HIT" : "LANG_PLAYER, HITS"
I was not able ... only solution is?
if(hits == 1)
{
LANG_PLAYER, HIT
}else{
LANG_PLAYER,...
Forum: Scripting Help 10-05-2012, 12:53
Replies: 10
Views: 1,778
Posted By CsIosefin
Re: How can I calculate

In short it is a menu with four selections. Then select the desired world most voted (two) selections can display them. The question was put to me will give me an extra in amxx code.
Forum: Scripting Help 10-05-2012, 11:34
Replies: 10
Views: 1,778
Posted By CsIosefin
Re: How can I calculate

An example of how I want, example text:
Save and check the numbers:
command[0] = is the number 3
command[1] = is the number 1
command[2] = is the number 2
command[3] = is the number 4
And now...
Forum: Scripting Help 10-05-2012, 07:47
Replies: 10
Views: 1,778
Posted By CsIosefin
Re: How can I calculate

fysiks: Yes, it makes sense.
Liverwiz: Yes, I know the first two (highest numbers) but all four.
ConnorMcLeod: Your method shown in the code is a good one. The problem is that they did not make all...
Forum: Scripting Help 10-04-2012, 21:36
Replies: 8
Views: 999
Posted By CsIosefin
Re: Help HUD

Use:
set_task(1.0, Message, _, _, _, "b");
Forum: Scripting Help 10-04-2012, 21:23
Replies: 10
Views: 1,778
Posted By CsIosefin
How can I calculate

Below is an example of code.
command[0]
command[1]
command[2]
command[3]
How can I calculate in all four of the first two with the highest number.
Example:
command[0] = 5
command[1] = 2...
Forum: Scripting Help 09-30-2012, 21:22
Replies: 3
Views: 872
Posted By CsIosefin
Re: Reading from file random

Mapchooser's selection of five maps (or as we set new) but I would like to simply select only one folder (only one row and have that row selected map). I select a map to set a cvar to paper.
Forum: Scripting Help 09-30-2012, 20:38
Replies: 3
Views: 872
Posted By CsIosefin
Reading from file random

Do not know much about working with files.
It is possible random reading?
Some of the code:
while((line = read_file(configsDir, line, textline, 31, len)))
{
trim(textline);
...
Forum: Scripting Help 09-28-2012, 07:54
Replies: 8
Views: 2,066
Posted By CsIosefin
Re: Get setinfo

I want to do is an authentication system for vip. All I want to say here is that I no longer include cvar for key.
Normal looks like this:
cvarpassfield=register_cvar("amx_vip_password", "_vip")...
Forum: Scripting Help 09-28-2012, 07:32
Replies: 8
Views: 2,066
Posted By CsIosefin
Re: Get setinfo

I can not breathe in admin.sma because it has all the key cvar. I wish I could draw from somewhere, to understand how a cvar setinfo without the key.
Forum: Scripting Help 09-27-2012, 21:11
Replies: 8
Views: 2,066
Posted By CsIosefin
Re: Get setinfo

I want to take the password for that player and I really need a key.
usage: setinfo [ <key> <value> ]I put the key without resorting to cvar. That:
get_user_info(id, "setinfo ^"_pw^"", passfield,...
Forum: Scripting Help 09-27-2012, 19:42
Replies: 8
Views: 2,066
Posted By CsIosefin
Get setinfo

Greeting, I've got a question, why not put setinfo directly but only through a cvar?
Why this method is not good?
get_user_info(id, "setinfo ^"_pw^"", passfield, 31) or get_user_info(id, "setinfo...
Forum: Scripting Help 09-25-2012, 09:46
Replies: 2
Views: 603
Posted By CsIosefin
Multi language in plugin

Hello! I want sma contain two or more languages ​​through a set menu (this is not done multilingual.sma amxmodx plugin).
The difficulty we face is that they do not know how to set a cvar person (1...
Forum: Scripting Help 09-17-2012, 19:51
Replies: 2
Views: 602
Posted By CsIosefin
Re: Prefix name in tab

Thanks for the reply!
Forum: Scripting Help 09-17-2012, 18:49
Replies: 2
Views: 602
Posted By CsIosefin
Prefix name in tab

Hello, I looked on the forums and in game events and we found there any way to put a prefix before the name of the tab(scoreattrib)? Without resorting to rename function. Name not be changed....
Forum: Scripting Help 09-04-2012, 14:37
Replies: 0
Views: 430
Posted By CsIosefin
Function to eliminate some of the spect view

It is possible to remove or hide anything from those who are spec a player? Look at the picture:img (http://s14.postimage.org/rjs7ud5of/CSS_1_large.jpg). What I circled in red refer to that thing....
Forum: Scripting Help 08-31-2012, 09:04
Replies: 28
Views: 3,554
Posted By CsIosefin
Re: Set any id to each player connected?

What I wanted to do is:
- connected to the first player is assigned a particular function / code.
I tried to run the code but id id is a question I did not understand how to change the id. In the...
Forum: Scripting Help 08-30-2012, 13:36
Replies: 28
Views: 3,554
Posted By CsIosefin
Re: Set any id to each player connected?

I'm talking about how to change them because I noticed that sometimes when you enter you have id no userid 8 and even if the server is full.
Forum: Scripting Help 08-30-2012, 09:10
Replies: 28
Views: 3,554
Posted By CsIosefin
Re: Set any id to each player connected?

I mean I do not know how it works id not userid. I refer to figure 2 highlighted in red in the image.
We were two players on the server first came out and I was too. The question is: Why does not...
Forum: Scripting Help 08-30-2012, 08:57
Replies: 8
Views: 1,184
Posted By CsIosefin
Re: Event entrance in plugin_init server

So it's not another method. I'll resort to methods with client_
I thought that other which is pretty much the same thing as client_putinserver. Thanks for the time spent in this topic!
Forum: Scripting Help 08-29-2012, 11:49
Replies: 28
Views: 3,554
Posted By CsIosefin
Re: Set any id to each player connected?

Slot player is not reset? How to reset? That is how it works with count.
This method is good but two players on the server do not work that not only resets player slot if I close and reopen the...
Showing results 1 to 25 of 100

 
Forum Jump

All times are GMT -4. The time now is 05:08.


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