--
[ Picked text/plain from multipart/alternative ]
That works thanks, how would I keep it relative to the mod bin folder?

On 6/28/07, Stephen Swires <[EMAIL PROTECTED]> wrote:
>
> I don't know why you would need this but I would assume the ShellExecute
> is relative to the hl2.exe, so try bin/modchecker.exe
>
> Benjamin Davison wrote:
> > --
> > [ Picked text/plain from multipart/alternative ]
> > How would I go about loading a program on mod startup? I currently have
> > looked at CHLClient::Init() and used this piece of code at the bottom of
> the
> > function.
> >
> > vgui::system()->ShellExecute("open", "modchecker.exe");
> >
> > modchecker.exe is in the mod bin folder.
> >
> > Any ideas would be appreciated.
> > --
> > - Benjamin Davison
> > --
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


--
- Benjamin Davison
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to