Page 1 of 1

RepSystem questions

Posted: Sun Jul 09, 2006 8:36 am
by CrazyMan
How the character to become the murderer?
For it that answers what script or core?
How to cease to be to the person the murderer?
Whether how to learn the murderer the player or it is criminal?
How i can contol reputation system?

Posted: Sun Jul 09, 2006 9:01 am
by CWO
POL Object Class Reference under Character

Code: Select all

Members:
murderer	boolean	1 = player flagged murderer (red)	r/w
criminal	integer	1 = player is criminal (gray)	r/o

Methods:
setcriminal(int level)	true/error	sets the character criminal. level multiplies the CriminalFlagInterval as defined in repsys.cfg. level=0 clears criminal timer.
setmurderer(bool)	true/error	flags the character as a murderer (red)
So from that...
1. who.murderer := 1;
2. dont understand the second question.
3. who.murderer := 0;
4. if (who.murderer) This person is a murderer. - if (who.criminal) This person is a criminal.
5. Using what I posted above in the code box.

Posted: Mon Jul 10, 2006 1:30 am
by CrazyMan
Tnks.

Posted: Tue Jul 11, 2006 9:14 am
by CrazyMan
How work reportables ?