![]() |
one doubt - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: one doubt (/Thread-one-doubt) |
one doubt - jexnico - 01-06-2018 02:34 AM sup what command should i use for when a player creates a char, does the server create a dialog box on the player screen? Quote:[FUNCTION f_onchar_create] serv.allclients is for all users, i need a command that serves only a specific user RE: one doubt - Soulless - 01-06-2018 03:54 AM just src.dialog if your having troubles with it showing up on character create do timerf 1,dialog d_entrada RE: one doubt - jexnico - 01-06-2018 04:14 AM (01-06-2018 03:54 AM)Soulless Wrote: just src.dialog i tried to use src.dialog but I got an error 16:10:1:Setup_CreateDialog acct='jex3566', char='efefef' 16:10:ERROR:(functions4.scp,83)Can't trysrc SRC.SDIALOG d_entrada object efefef (028f4) with src efefef (028f4) RE: one doubt - amonvangrell - 01-06-2018 07:50 PM I solved this like this: add to your sphere.ini a common event to all your players: Code: // Events related to all players then you create a script with the event like this: Code: [EVENTS e_popup] if you want this popup to be opened only once, add a tag and a tagcheck. hope it helps. |