![]() |
Bugged flags opening
I have been working on a custom PK system. While checking if it works, I always had to open the players flags to check the health.
While that I realized, if you use in client-RC ´/openflags communityname´ it doesn´t seem like it´s updating the players flags (same in extern RC with ´/open communityname´), because for me they didn´t change. It just seems to update these if you use ´/openflags account´ (or in extern RC ´/open accoung´). Then the flags always had been updated. After that I tried using the way with using the players communityname and that still wasn´t updated. Maybe it´s just me making something wrong, but I don´t think so. Here is the script: PHP Code:
PHP Code:
I hope this can get fixed :) |
Off-Topic... You can simplify you damage line to just:
clientr.player_hp = max(clientr.player_hp - damage, 0); Just echo the clientr.player_hp value before and after to check if it's working instead of using RC. |
Quote:
|
What does it show on RC? If there is already an account file for the name you provide then it will not try to resolve the community name. This can be changed sometime.
|
Quote:
|
| All times are GMT +2. The time now is 12:03 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.