Hello!!
I've been trying to add that simple table to my Modern AAC, but so far I have only been able to return the id of the player to whom someone is married to. By using this
Wich result in something like:
Marital Status | 21 <-- id of the other player
I have the idea that you have to use the getMarriage thing to get the player's name but so far I havent been lucky enough to get it work, been trying using as example the one from the guild display but well, my php knowledge isnt that big hehe
Well, thanks in advise, cya!
I've been trying to add that simple table to my Modern AAC, but so far I have only been able to return the id of the player to whom someone is married to. By using this
Code:
<?php echo $player->getMarriage(); ?>
Wich result in something like:
Marital Status | 21 <-- id of the other player
I have the idea that you have to use the getMarriage thing to get the player's name but so far I havent been lucky enough to get it work, been trying using as example the one from the guild display but well, my php knowledge isnt that big hehe
Well, thanks in advise, cya!