Hey!
Thanks for the replies!
@ SpazShot: I tried this version out, but it didn't work for me unfortunately... Maybe another plugin has an influence on it..? Or is it really a memory leak? Don't know...
----------------------------------------------
Here are the error messages in the console window... I'm searching for a solution:
L 06/15/2011 - 22:21
0: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 06/15/2011 - 22:21
0: [SM] Native "Format" reported: Language phrase "ban reasons" not found
L 06/15/2011 - 22:21
0: [SM] Displaying call stack trace for plugin "playersvotes.smx":
L 06/15/2011 - 22:21
0: [SM] [0] Line 1334, C:\Users\Berni\AppData\Local\Temp\Rar$DI38.42 7\playersvotes.sp:
isplayBanReasonMenu()
L 06/15/2011 - 22:21
0: [SM] [1] Line 1307, C:\Users\Berni\AppData\Local\Temp\Rar$DI38.42 7\playersvotes.sp::Handler_VoteMenu()
By the way: Who is Berni?
This user is not on my PC.
------------------------------------------
This is a real elite error...
The message is thrown in line 1337 (no joke!)
--> Format(sTitle, sizeof(sTitle), "%t:", "ban reasons");
--------------------------------------------
So, for solving this problem you have two possibilities:
Either you change this line
Or you don't use ban reasons any more.
I don't know, why this happens. Using a new translations file didn't work, so I deleted the ban reasons and now it works!
I hope this will help any other admin... :-)
Cheers,
nerevye