Raised This Month: $ Target: $400
 0% 

Showing results 1 to 18 of 18
Search took 0.02 seconds.
Search: Posts Made By: Ltv
Forum: Scripting Help 09-11-2007, 15:55
Replies: 9
Views: 2,130
Posted By Ltv
Forum: Scripting Help 09-06-2007, 14:00
Replies: 9
Views: 2,130
Posted By Ltv
Re: have some problem with func. "contain"

I try to make that the admin could not put voting on maps from a file lastmapsplayed.txt


new configsdir[200]
new lastmapsfile[200]

get_configsdir(configsdir,199)
...
Forum: Scripting Help 09-06-2007, 11:04
Replies: 9
Views: 2,130
Posted By Ltv
Re: have some problem with func. "contain"

Here all part, the rest adminvote.sma, a part public cmdVoteMap


new fz = file_size(lastmapsfile,1) + 1
for(new i=0 ;i<=fz; i++)
{
new read[100]
new trash
...
Forum: Scripting Help 09-05-2007, 04:56
Replies: 9
Views: 2,130
Posted By Ltv
Re: have some problem with func. "contain"

One more specification


for (new i=0; i < 4; i++) {
if((containi(arg[i],read) != -1))
{
console_print(id, "%L", id, "NOT_ALLOW_LMP")
return PLUGIN_HANDLED
}
}
Forum: Scripting Help 09-04-2007, 13:33
Replies: 9
Views: 2,130
Posted By Ltv
have some problem with func. "contain"

Hi.

I have problem with function contain/containi
When i tried to read from file, I have faced a problem. If in file



Then when i want do something with the de_dust2, the plug-in check...
Forum: Suggestions / Requests 08-08-2007, 17:11
Replies: 11
Views: 3,245
Posted By Ltv
Re: Changename 3 times in 10 sec = ban

Excuse, was mistaken. Has corrected..


server_cmd("amx_ban %d ^"%s^" ^"Don't Spam Namechange^"", BAN_TIME, authid);


Because cmd

register_concmd("amx_ban", "cmdBan", ADMIN_BAN, "<time...
Forum: Suggestions / Requests 08-08-2007, 13:13
Replies: 11
Views: 3,245
Posted By Ltv
Re: Changename 3 times in 10 sec = ban

If you want only add ban with amxbans

change
server_cmd("kick #%d ^"Don't Spam Namechange^"; wait; banid %d ^"%s^"; wait; writeid", get_user_userid(id), BAN_TIME, authid);

to
...
Forum: Suggestions / Requests 08-07-2007, 19:03
Replies: 11
Views: 3,245
Posted By Ltv
Re: Changename 3 times in 10 sec = ban

Nice! Thanks a lot!

I have a one question... on my server i have more plug-in with set_task in putinserver and in plugin_init with "loop" 10-15 seconds, it's bad for server or no ? :wink:
Forum: Suggestions / Requests 08-07-2007, 08:49
Replies: 11
Views: 3,245
Posted By Ltv
Changename 3 times in 10 sec = ban

Hi.

I search plug-in which ban players, who very often change name.. approximately: 3-5 times for 10 seconds and then ban this player.

Can anybody help me ?
Forum: Scripting Help 08-02-2007, 09:25
Replies: 12
Views: 3,188
Posted By Ltv
Re: read from file and print in chat

It's working!
Thanks everyone who tried to help me!
Forum: Scripting Help 08-01-2007, 13:40
Replies: 12
Views: 3,188
Posted By Ltv
Re: read from file and print in chat

Has made filepatch - "addons/amxmodx/configs/text.txt", and this doesn't work, write only "*". :(
Forum: Scripting Help 08-01-2007, 09:18
Replies: 12
Views: 3,188
Posted By Ltv
Re: read from file and print in chat

I have change "filepatch" to "amxmodx/configs/text.txt" (In text.txt data)And this doesn't work, write only "*".
Forum: Scripting Help 07-31-2007, 17:23
Replies: 12
Views: 3,188
Posted By Ltv
Re: read from file and print in chat

Well, may be bad have explained.

One file contain and have this structure


de_dust
de_aztec
cs_italy
de_prodigy
...
Forum: Scripting Help 07-31-2007, 14:19
Replies: 12
Views: 3,188
Posted By Ltv
read from file and print in chat

Hi all.

Tell me please how to make this... I have a file where stored data in a column and i want when i write command in game, this data from file print_chat in a line.

I tried to make, but...
Forum: Suggestions / Requests 07-27-2007, 12:39
Replies: 4
Views: 1,433
Posted By Ltv
Re: Show a admin Level!

Nice plug-in... I too from such would not refuse..
Forum: Suggestions / Requests 07-25-2007, 17:05
Replies: 3
Views: 1,481
Posted By Ltv
Forum: Suggestions / Requests 07-24-2007, 07:55
Replies: 3
Views: 1,481
Posted By Ltv
Re: votemap (block give vote if mapname is in file)

Not this plug-in.. this is for vote on map end, but i want for amx_votemap that on the basis of mapmanage plug-in file (lastplayermaps.txt) at use of command amx_votemap check file -...
Forum: Suggestions / Requests 07-23-2007, 18:53
Replies: 3
Views: 1,481
Posted By Ltv
votemap (block give vote if mapname is in file)

When you start vote the plugin check file - lastplayedmaps.txt and if mapname coincides with the mapname in file (lastplayedmaps.txt) then would write, that it is not possible and plugin handled.
...
Showing results 1 to 18 of 18

 
Forum Jump

All times are GMT -4. The time now is 11:10.


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