Raised This Month: $ Target: $400
 0% 

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: facuq
Forum: Scripting Help 02-10-2007, 15:35
Replies: 6
Views: 1,830
Posted By facuq
Re: File functions - Which to use

Great, thank you both!
Forum: Scripting Help 02-09-2007, 16:53
Replies: 6
Views: 1,830
Posted By facuq
Re: File functions - Which to use

Yes, i saw it and fread_blocks too, but there was a comment for fwrite saying " This function doesn't work anymore in higher versions then amxmodx 1.5", that made me think the whole "fwrite/read...
Forum: Scripting Help 02-09-2007, 02:40
Replies: 6
Views: 1,830
Posted By facuq
Re: File functions - Which to use

Great! Thanks for the speedy reply.

Another quick question: From what i've read, I assume the difference between fgets/fputs and read_file/write_file is that while the first ones have a c like...
Forum: Scripting Help 02-09-2007, 00:36
Replies: 6
Views: 1,830
Posted By facuq
File functions - Which to use

I've been going throught the file functions in the wiki and the forum, and it's seems there's some contradiction in their use since the wiki says some functions are deprecated, but they are still...
Forum: Scripting Help 02-06-2007, 15:08
Replies: 3
Views: 1,399
Posted By facuq
Re: addip/banid implementation

ok i'll post some pseudo code so you can better see what i mean:


// info on players
new playersId[MAXPLAYERS];
new playerIsBanned[MAXPLAYERS];
new numberOfPlayers=0;
// info on banned...
Forum: Scripting Help 02-05-2007, 11:54
Replies: 3
Views: 1,399
Posted By facuq
Re: addip/banid implementation

I know it's fine the way it is, but i need my own :).
Why nvault? since i need to lower every banned player's remaining time by one minute, an array is perfect because i can do it in O(n) time. ...
Forum: Scripting Help 02-05-2007, 00:31
Replies: 3
Views: 1,399
Posted By facuq
addip/banid implementation

I've been trying to do my own [efficient, meaning usable] implementation of these commands using a plugin, and i wanted to know if any of you had ideas for it. What first comes to mind is simple...
Forum: Scripting Help 02-04-2007, 21:33
Replies: 31
Views: 7,744
Posted By facuq
Re: Reading from a file

¿shouldn't you read the file into an array or another data structure? opening, closing, and sweeping through a file everytime someone connects is not efficient, unless the file is cached in memory,...
Forum: Unapproved/Old Plugins 02-01-2007, 23:34
Replies: 6
Views: 3,693
Posted By facuq
Re: CFG's Changer v1.0

I also think it's redundant (i prefer using amx_cfg in commandmenu for shortcuts), but ¿why poorly coded?
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -4. The time now is 00:36.


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