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

[CSS] Jail: CT-Restrict Stamm-Rounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 03-16-2014 , 10:30   [CSS] Jail: CT-Restrict Stamm-Rounds
Reply With Quote #1

Hi,

I am searching for the following sourcemod plugin: The plugin checks if a player has more than x Stamm-Rounds (Stamm by Popoklopsi) or not. If he has less, he is not allowed to join into the CT team.

Every jailbreak server owner will be thankful for such a plugin. This would be the best protection from freekillers.

Maybe a great coder will help me?

Best regards
2NASTY4U
2NASTY4U is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 03-16-2014 , 10:48   Re: [CSS] Jail: CT-Restrict Stamm-Rounds
Reply With Quote #2

Done

Cvar:
Code:
sm_restrictct_points "5" // points needed for can join in CT team
Attached Files
File Type: sp Get Plugin or Get Source (stamm_restrictct.sp - 152 views - 890 Bytes)
File Type: smx stamm_restrictct.smx (3.2 KB, 130 views)
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 03-16-2014 , 11:39   Re: [CSS] Jail: CT-Restrict Stamm-Rounds
Reply With Quote #3

Quote:
Originally Posted by Franc1sco View Post
Done
Thanks for your help again. But your Plugin is not working with the newest version of Stamm 2.1.8.

Error:
Code:
[SM] Plugin stamm_restrictct.smx failed to load: Native "GetClientStammPoints" was not found.
I tried to change line 29 in
Code:
    if (STAMM_GetClientPoints(client) < points && teamnumber == 3 && GetUserAdmin(client) == INVALID_ADMIN_ID)
because in stamm.inc is no "GetClientStammPoints" but there is "STAMM_GetClientPoints". After recompiling sourcemod loaded the plugin sucessfully, but it does not take an effect. I revoked my admin rights and I reseted my stamm points to 0.

¡Muchos saludos a Madrid!
2NASTY4U

Last edited by 2NASTY4U; 03-16-2014 at 11:40.
2NASTY4U 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 01:59.


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