AFK Credits - Yay!
If a PC/client is sitting and hasn't moved x,y,z coordinates (some damper to the z coordinate to account for those that would like to go around levitating people), they will earn credits.
Not a fan of this system, but different strokes for different folks and is simplistic enough that perhaps some can learn from it in some small way. Code:
$AFKINCREMENTSNEEDED = 180; |
I am more tuned to give people some type of credit for writing guides, faqs, fixing issues or even reporting exploits.
I could see where some servers would want something like this so it is a good addition. |
How would I modify this if I want to use this in the bazaar for traders? Just change the "IsSitting" part? and make it "IsStanding"? Like this?
Code:
$AFKINCREMENTSNEEDED = 180; |
There is no IsStanding(), use !$client->IsSitting().
|
You can use appearance i guess?
Code:
if ($client->GetAppearance() == 0) { |
All times are GMT -4. The time now is 03:51 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.