![]() |
Help with dialog opening on wrong player - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Help with dialog opening on wrong player (/Thread-Help-with-dialog-opening-on-wrong-player) |
Help with dialog opening on wrong player - escribano - 07-07-2015 02:17 PM Dudes... im making a guild system to my shard and doind the recruit dialog (to recruited player confirm that he wants to join) i got this error.. First: when 2x click on the stone open the main dialog, in this dialog there is a button to recruit member.. this buton is do a "src.targetf f_guild_recruit <uid>" (send a funcion to the target sending the guildstone UID, all from the SRC.. with is the player that double clicked on the stone). This funcion "f_guild_recruit" receives this parameters: Code: ref1 = <argv[0]> // Guild UID ok... to show the dialog, i store some information on a ctag: Code: ref2.ctag.invite_guild <ref1> then... i tryed of EVERY way to open the dialog on the target player with no success. I've tryied this ways: Code: REF2.SDIALOG d_guild_invite The dialog always opens on the REF3 player... and i dunno why! Someone can help? Thanks! Never mind... tyed this way that works: Code: TRYSRC <ARGO> SDIALOG d_guild_invitation ![]() |