Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 42
Search took 0.00 seconds.
Search: Posts Made By: Ratonel
Forum: Plugins 02-22-2015, 08:43
Replies: 166
Views: 88,849
Posted By Ratonel
Re: [ANY] adminWatch (v1.2.2)

I am having a little problem with this plugin. After the map changes, the web page doensn't display anything. It's blank.

Did anyone encounter this problem?
Forum: Scripting Help 09-29-2014, 03:57
Replies: 6
Views: 1,341
Posted By Ratonel
Re: I need a little review

Can you please tell me what that does? I want to learn this suff so i would apreciate it if you could provide some information for your snippets, suggestions.

Also, I would like to thank you for...
Forum: Scripting Help 09-28-2014, 07:30
Replies: 6
Views: 1,341
Posted By Ratonel
I need a little review

I am not submiting this plugin because i don't think that it it/will be good enough.

I would apreciate if you could point out any mistakes, bad coding or anything that could be done in a better...
Forum: Scripting Help 09-16-2014, 23:55
Replies: 2
Views: 792
Posted By Ratonel
Re: Global cellarray error

Thank you, fysiks.
Forum: Scripting Help 09-16-2014, 16:19
Replies: 2
Views: 792
Posted By Ratonel
Global cellarray error

I have this line

new Array:maps = ArrayCreate(32);

and it produces this error

error 008: must be a constant expression; assumed zero


I can't figure out what is the problem.
Forum: Scripting Help 09-16-2014, 05:28
Replies: 5
Views: 1,644
Posted By Ratonel
Re: Before mapchange "hooking"

So, this should work...

set_task(300, "DoStuff", 0, "", 0, "d")

Thanks for your replies.
Forum: Scripting Help 09-15-2014, 15:31
Replies: 1
Views: 695
Posted By Ratonel
Re: What is wront at this code ?

CountDownDelay[id] = get_pcvar_num(cvar_delay)
if(CountDownDelay[id] > 1)

Everytime you want to shoot, CountDownDelay[id] is 5.

You need to set CountDownDelay[id] to the cvar value after you...
Forum: Scripting Help 09-15-2014, 13:41
Replies: 5
Views: 1,644
Posted By Ratonel
Before mapchange "hooking"

I need to do some stuff 5 minutes before mapchange.

Is there another way to do this, besides get_timeleft() every minute?
Forum: Scripting Help 09-09-2014, 12:05
Replies: 18
Views: 4,158
Posted By Ratonel
Re: Reading certain parts from file

Does str_to_num goes until it gets to the end of the string? If so, I get it. I just taught that it will get the char provided (read[1] in this case) and convert it as a single digit number.

I am...
Forum: Scripting Help 09-08-2014, 13:14
Replies: 18
Views: 4,158
Posted By Ratonel
Re: Reading certain parts from file

Sorry for the late answer.

I made it this way.

while( !feof(hFileHandler)){

fgets(hFileHandler, read, sizeof(read) - 1);
trim(read);

if( !read[0] || read[0] == ';'){
Forum: Scripting Help 09-08-2014, 04:51
Replies: 18
Views: 4,158
Posted By Ratonel
Re: Reading certain parts from file

Maybe i am wrong, but i am having some trouble with the snippet you provided.

For 6 players I would have all the maps listed... for 12 I would have all except de_dust2. The way I wanted it to be...
Forum: Scripting Help 09-07-2014, 01:09
Replies: 18
Views: 4,158
Posted By Ratonel
Re: Reading certain parts from file

This was it. I should have seen it.

After I changed the else with if( szReadData[0] == '#' && szReadData[1] != Arg[0]) it worked. Anyway there is much room for improvement. I could get the while...
Forum: Scripting Help 09-06-2014, 12:42
Replies: 18
Views: 4,158
Posted By Ratonel
Reading certain parts from file

I want to read only a specified area of text from a file.

For example, i have the file strings.ini:


#0
The line for category 0

#1
The
Forum: Scripting 08-15-2014, 06:05
Replies: 4
Views: 1,414
Posted By Ratonel
Re: Problem with sm_ban

Never thought of that. And it might be the problem. I tested it trying to ban a player with a space caracter in his name.

Thanks for your response.
Forum: Scripting 08-15-2014, 05:47
Replies: 4
Views: 1,414
Posted By Ratonel
Problem with sm_ban

I am trying to bypass an admin acces to sm_ban and i have a little problem.

For some reasons, the code below bans a player permanently with the reason "30" (default time). Can you point me where i...
Forum: Scripting Help 08-01-2013, 14:31
Replies: 1
Views: 494
Posted By Ratonel
Retrieving data from chat

Which is the best way to retrieve some data from chat?

For example: I type "/command player_name" . How can I get the player's name and make the connection to his id?
Forum: Suggestions / Requests 07-08-2013, 11:32
Replies: 10
Views: 2,033
Posted By Ratonel
Re: List all maps in MOTD

You, my dear friend, are a savior.

Thank you very much for your time.
Forum: Suggestions / Requests 07-08-2013, 11:16
Replies: 10
Views: 2,033
Posted By Ratonel
Re: List all maps in MOTD

Can I ask you for some guidance on this matter?

What menu system is more appropriate for what i am trying to do?
Forum: Suggestions / Requests 07-08-2013, 11:01
Replies: 10
Views: 2,033
Posted By Ratonel
Re: List all maps in MOTD

I am fine by that. One more thing.

Can I use a file, such as "maps.ini" to display as menu items the map names that are in that file?
(I don't have any experience with reading files in pawn).
Forum: Suggestions / Requests 07-08-2013, 10:49
Replies: 10
Views: 2,033
Posted By Ratonel
Re: List all maps in MOTD

I have done some research and I wonder if this will work

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /allmaps","show")

...
Forum: Suggestions / Requests 07-08-2013, 09:14
Replies: 10
Views: 2,033
Posted By Ratonel
List all maps in MOTD

I spent a lot of time trying to find this plugin.(Maybe I am blind)

When an admin types /maps in chat, all maps on the server will be listed in the motd.
Forum: Suggestions / Requests 12-04-2012, 00:13
Replies: 4
Views: 2,457
Posted By Ratonel
Forum: Suggestions / Requests 12-03-2012, 13:47
Replies: 4
Views: 2,457
Posted By Ratonel
Grenade every 10 seconds

I want to make a plugin that gives a grenade to all the players every 10 seconds...I know a method but it consumes a lot of resources.
Forum: Scripting Help 11-13-2012, 14:07
Replies: 0
Views: 827
Posted By Ratonel
Bribery plugin

I tried to make a bribery plugin but it doesn't work. I don't know where's the problem.

#include <amxmodx>
#include <hamsandwich>
#include <cstrike>

#define ADVERTISE_TIME 120.0

new...
Forum: Scripting Help 11-12-2012, 13:33
Replies: 4
Views: 1,092
Posted By Ratonel
Re: Extracting argument from chat.

I'll try that. Thanks for the sugestion.
Showing results 1 to 25 of 42

 
Forum Jump

All times are GMT -4. The time now is 22:07.


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