debug
This commit is contained in:
@@ -335,7 +335,8 @@ export default function hanfSystem(globalData: IGlobalData) {
|
|||||||
|
|
||||||
mp.events.addDataHandler("hanfData", (entity: EntityMp, value) => {
|
mp.events.addDataHandler("hanfData", (entity: EntityMp, value) => {
|
||||||
mp.gui.chat.push("neue hanf data");
|
mp.gui.chat.push("neue hanf data");
|
||||||
if (entity == mp.players.local) {
|
if (entity.type == 'player' && entity.remoteId == mp.players.local.remoteId) {
|
||||||
|
mp.gui.chat.push("eigener user");
|
||||||
updateHanf(value);
|
updateHanf(value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user