Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 76
Search took 0.00 seconds.
Search: Posts Made By: crazy.cipry
Forum: Scripting Help 03-05-2011, 16:40
Replies: 11
Views: 2,600
Posted By crazy.cipry
Re: Array doesn't increase

If fynamic array is slow , then i don't know what is fast :))

Aren't the dynamic arrays and tries the fastest ?
Forum: Scripting Help 03-05-2011, 14:38
Replies: 11
Views: 2,600
Posted By crazy.cipry
Re: Array doesn't increase

Thanks. It works.


The code given above is just an example. I have something entirely different from it and in my case I must use arrays.
Forum: Scripting Help 03-05-2011, 14:15
Replies: 11
Views: 2,600
Posted By crazy.cipry
Re: Array doesn't increase

So it should be:
ArraySetArray ( g_Array, position, data );
?
Forum: Scripting Help 03-05-2011, 13:57
Replies: 11
Views: 2,600
Posted By crazy.cipry
Array doesn't increase

For example, i have something like:

...........
enum _:Data {
STRING[ 32 ],
NUMBER
};

new Array: g_Array;
Forum: Scripting Help 02-27-2011, 13:35
Replies: 7
Views: 1,673
Posted By crazy.cipry
Re: Read from file to an array - problem

OMG what ***** i am...
I was not attentive. Thank you all for helping me :d
Forum: Scripting Help 02-27-2011, 13:01
Replies: 7
Views: 1,673
Posted By crazy.cipry
Re: Read from file to an array - problem

So you changed only the line-read condition, but i don't want to read the blank lines or the ones that begin with ;
Forum: Scripting Help 02-27-2011, 11:37
Replies: 7
Views: 1,673
Posted By crazy.cipry
Read from file to an array - problem

I want to read from the file something like:
word 2 4both values are lower than 100.

Parts from plugin:
new const g_sFile[ ] = "file.ini";

enum _:Data {
DATA_STRING[ 32 ],
...
Forum: Scripting Help 02-13-2011, 10:42
Replies: 2
Views: 790
Posted By crazy.cipry
bad spawn

Hello. Sorry if i didn't post corectly. I know that there was a plugin which, at player spawn, if there weren't enough spawn points, it spawned the players one on top of the other, in order not to...
Forum: Scripting Help 02-04-2011, 14:26
Replies: 13
Views: 2,803
Posted By crazy.cipry
Re: Get operating system

For example you want to check if the hosting provider tells the truth related to the operating system.
Forum: Scripting Help 02-04-2011, 14:14
Replies: 13
Views: 2,803
Posted By crazy.cipry
Re: Get operating system

I read somewhere that the guy found out the operating system and the configuration, but i also think it was fake...
Forum: Scripting Help 02-04-2011, 14:11
Replies: 13
Views: 2,803
Posted By crazy.cipry
Re: Get operating system

Only that? But can you find if it is ubuntu or debian for ex?
Forum: Scripting Help 02-04-2011, 14:09
Replies: 10
Views: 1,876
Posted By crazy.cipry
Re: External buffer

1. I think it's not possible. You can do this using files or mysql (which is faster).
Forum: Scripting Help 02-04-2011, 14:06
Replies: 13
Views: 2,803
Posted By crazy.cipry
Get operating system

Is there any possibility to find through a plugin the operating system of the computer on which the server is running?
Forum: Scripting Help 12-28-2010, 07:58
Replies: 9
Views: 1,935
Posted By crazy.cipry
Re: tag mismatch 213

I don't get any tag mismatch :-?

You should use:
if( cs_get_user_team(id) != CS_TEAM_SPECTATOR )
Forum: Scripting Help 12-28-2010, 05:42
Replies: 18
Views: 3,378
Posted By crazy.cipry
Re: Edit file with sockets

Now it's working. Thanks a lot. :D
Forum: Scripting Help 12-28-2010, 04:30
Replies: 18
Views: 3,378
Posted By crazy.cipry
Re: Edit file with sockets

Same result:
- -

I suppose the problem comes from the plugin, but the query seems to be fine...
Forum: Scripting Help 12-27-2010, 20:04
Replies: 18
Views: 3,378
Posted By crazy.cipry
Re: Edit file with sockets

Changed it into:
@fopen($fisier, "a");
And it's not working...
Forum: Scripting Help 12-27-2010, 18:53
Replies: 18
Views: 3,378
Posted By crazy.cipry
Re: Edit file with sockets

plugin ->
#include < amxmodx >
#include < amxmisc >
#include < sockets >

new const HOSTNAME[ ] = "localhost";
new const SCRIPT[ ] = "/trafic.php";

const PORT = 80;
new szHostName[ 64...
Forum: Scripting Help 12-27-2010, 18:24
Replies: 14
Views: 2,762
Posted By crazy.cipry
Re: Looping a function?

=)))))))))))))))))))))))))))))

Ontopic:

set_task ( 0.1, "function", _, _, _, "a", number_of_loops );
?
Forum: Scripting Help 12-27-2010, 18:20
Replies: 18
Views: 3,378
Posted By crazy.cipry
Re: Edit file with sockets

It doesn't work anymore :(
Forum: Scripting Help 12-27-2010, 18:19
Replies: 6
Views: 1,991
Posted By crazy.cipry
Re: Check team

1. for(new i = 0; i < iNum; i++)=>
for(new i = 1; i <= iNum; i++)2. Use cs_get_user_team (http://www.amxmodx.org/funcwiki.php?go=func&id=199)

3. Instead of using 3 ifs, use only one:

if (...
Forum: Scripting Help 12-27-2010, 18:09
Replies: 18
Views: 3,378
Posted By crazy.cipry
Re: Edit file with sockets

I have rewritten the code 3 times differently and the exact same result.
I have even tried this (http://forums.alliedmods.net/showthread.php?p=967337#post967337), but the same result. DAMN SOCKETS !...
Forum: Scripting Help 12-27-2010, 17:07
Replies: 11
Views: 2,639
Posted By crazy.cipry
Re: Checking if string is empty

if ( ! somestr[ 0 ] )
{
some code
}
Forum: Scripting Help 12-27-2010, 16:06
Replies: 18
Views: 3,378
Posted By crazy.cipry
Forum: Scripting Help 12-27-2010, 15:35
Replies: 18
Views: 3,378
Posted By crazy.cipry
Re: Edit file with sockets

No errors.
The php script is fine, because i've tested it with a previous version of this plugin and it worked, but i've made some changes on the plugin and now it prints the name of the server, but...
Showing results 1 to 25 of 76

 
Forum Jump

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


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