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

[Stamm] How to make features for the Stamm Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dordnung
Veteran Member
Join Date: Apr 2010
Old 09-11-2012 , 10:24   [Stamm] How to make features for the Stamm Plugin
Reply With Quote #1

There is finally a really detailed Wiki for how to use the Stamm API, see here:

https://github.com/popoklopsi/Stamm/wiki#for-developers

If you have questions or problems, feel free to ask
__________________

Last edited by dordnung; 03-26-2014 at 15:21.
dordnung is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 09-13-2012 , 19:58   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #2

*reserved*
__________________

Last edited by dordnung; 03-26-2014 at 15:22.
dordnung is offline
TheHardstyleBro
Senior Member
Join Date: Jun 2012
Location: Netherlands
Old 10-09-2012 , 10:32   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #3

Question

Im trying with custom chat colors this out

PHP Code:
        if(IsClientVip(client1false))
        {
            
CCC_SetTag(client"[Bronze-VIP] ");
            
CCC_SetTagColor(client"8C7853");
        }
        else if(
IsClientVip(client2false))
        {
            
CCC_SetTag(client"[Silver-VIP] ");
            
CCC_SetTagColor(client"E6E8FA");
        } 
Will this work?
Cause when I just use "Bronze" at type it will give me error in the compiler
__________________
TheHardstyleBro is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 10-09-2012 , 10:47   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #4

What is CCC?
__________________
dordnung is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 10-09-2012 , 10:58   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #5

Custom chat colors
ecca is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 10-09-2012 , 11:06   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #6

Yes, this should work fine^^

Yes you have to use numbers^^, maybe i will implement a new function, also for names (;

1 -> first level (default: Bronze)
2 -> Second level

and so on ^^
__________________

Last edited by dordnung; 10-09-2012 at 11:08.
dordnung is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 10-09-2012 , 15:25   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #7

UPDATED for Stamm 2.03!
  • Changed return type of GetStammGame() and GetStammType()
  • Added canChange to function AddFeature
  • Added MAX_STAMM_FEATURES and MAX_STAMM_LEVELS
  • Added GetStammLevelNumber(String:name[]) to get the number of a named level
__________________

Last edited by dordnung; 10-09-2012 at 15:27.
dordnung is offline
ahodania
Junior Member
Join Date: Aug 2012
Old 10-23-2012 , 06:53   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #8

I see other servers with the !store function where they can buy hats, playertrails,skins, etc with the credits they get. How would I implement something like that? I'm really bad at programming lol
ahodania is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 10-23-2012 , 06:56   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #9

Sure that is with the credits of stamm?
__________________
dordnung is offline
ahodania
Junior Member
Join Date: Aug 2012
Old 10-23-2012 , 07:04   Re: [Stamm] Make features for my VIP Plugin
Reply With Quote #10

Yes my friend. Could I give you a server IP that has a good example of that?
ahodania 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 10:40.


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