Raised This Month: $51 Target: $400
 12% 

[ANY]Warning system[UPDATED 2011-12-12]


Post New Thread Reply   
 
Thread Tools Display Modes
MindeLT
Senior Member
Join Date: Dec 2010
Location: Lithuania
Old 01-11-2012 , 08:37   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #81

This option requires edit of SB_BanPlayer native in plugin. You may look to it
__________________
MindeLT is offline
Send a message via Skype™ to MindeLT
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 01-27-2012 , 09:24   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #82

Is this a bug?

I warned someone:

Quote:
[WARN] ChuckSobchuck have been warned [1/3]. Reason: No killing
[WARN] You have been warned. Please read !rules to continue.
Why did I received the message:
Quote:
[WARN] You have been warned. Please read !rules to continue.
When I warned someone else? Is this only visible to admins or all players?
__________________

Last edited by Skyrider; 01-27-2012 at 09:26.
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
MindeLT
Senior Member
Join Date: Dec 2010
Location: Lithuania
Old 01-28-2012 , 01:51   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #83

Err... As far as i remember, i did it visible for warned player.
However, you should check, is there is CPrintToChatAll, or CPrintToChat(client, "Text");
__________________
MindeLT is offline
Send a message via Skype™ to MindeLT
niar82k
Member
Join Date: Aug 2007
Location: Germany
Old 02-05-2012 , 13:35   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #84

I completely reinstalled the server and uploaded the script warning! Still, I always get this error when I warn a player via
menu

L 05/02/2012 - 1917: [SM] Native "ThrowError" reported: Invalid client index 0
L 05/02/2012 - 1917: [SM] Displaying call stack trace for plugin "warn_sistema_v1.0b.smx"
L 05/02/2012 - 1917: [SM] [0] Line 56, D: \ Documents and Settings \ PC \ Desktop \ eurocss pluginai \ include \ colors.inc CPrintToChat :: ()
L 05/02/2012 - 1917: [SM] [1] Line 213, C: \ Documents and Settings \ PC \ Desktop \ eurocss pluginai \ warn_sistema_v1.0b.sp Command_Warn :: ()

Last edited by niar82k; 02-05-2012 at 13:36.
niar82k is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 02-06-2012 , 14:46   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #85

The reason that happens is that he executes the command with ServerCommand.
The client in this case is the console or 0 aka server, line :711
Maybe it helps to get this fixed faster.

Yours sincerely
Impac
__________________
Impact123 is offline
Kidney Fighter
Member
Join Date: Nov 2011
Location: Guangzhou
Old 02-07-2012 , 09:38   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #86

well,it doesn't work here.The console said "Unknow command sm_warn"
__________________
We work in the dark to serve the light.
We are Assassins!Nothing is truth,Everything is permitted!
Kidney Fighter is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-07-2012 , 10:00   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #87

He compiled the script locally on his computer so its showing his desktop path.. you need to download the .sp and compile it yourself. For those of you that don't know how go here and do it which should work as it needs colors from the one off allied.

https://www.sourcemodplugins.org/pages/smwebide/
Horsedick is offline
Kidney Fighter
Member
Join Date: Nov 2011
Location: Guangzhou
Old 02-07-2012 , 10:59   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #88

Quote:
Originally Posted by Horsedick View Post
He compiled the script locally on his computer so its showing his desktop path.. you need to download the .sp and compile it yourself. For those of you that don't know how go here and do it which should work as it needs colors from the one off allied.

https://www.sourcemodplugins.org/pages/smwebide/
i can't script that thing,it showed error
__________________
We work in the dark to serve the light.
We are Assassins!Nothing is truth,Everything is permitted!
Kidney Fighter is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-07-2012 , 14:43   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #89

Quote:
Originally Posted by Kidney Fighter View Post
i can't script that thing,it showed error

worked fine for me.. here they are: I just downloaded the exact script he had on first post and compiled it there.
Attached Files
File Type: smx warn_sistema_v1.0b.smx (16.6 KB, 74 views)
File Type: sp Get Plugin or Get Source (warn_sistema_v1.0b.sp - 51 views - 21.6 KB)

Last edited by Horsedick; 02-07-2012 at 14:44.
Horsedick is offline
Kidney Fighter
Member
Join Date: Nov 2011
Location: Guangzhou
Old 02-07-2012 , 20:16   Re: [ANY]Warning system[UPDATED 2011-12-12]
Reply With Quote #90

Quote:
Originally Posted by Horsedick View Post
worked fine for me.. here they are: I just downloaded the exact script he had on first post and compiled it there.
thanks,i will try it
__________________
We work in the dark to serve the light.
We are Assassins!Nothing is truth,Everything is permitted!
Kidney Fighter is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:27.


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