-- [ Picked text/plain from multipart/alternative ] Right, but that's clearly for clients. clients are windows.
On 6/28/07, Tom Leighton <[EMAIL PROTECTED]> wrote: > > Won't work, some people use linux dedicated servers... > > Louka Outrebon wrote: > > -- > > [ Picked text/plain from multipart/alternative ] > > Use windows API. > > > > On 6/28/07, Benjamin Davison <[EMAIL PROTECTED]> wrote: > > > >> -- > >> [ Picked text/plain from multipart/alternative ] > >> Did some searching and found IFileSystem::RelativePathToFullPath > >> > >> Works a treat, thanks guys. > >> > >> On 6/28/07, Benjamin Davison <[EMAIL PROTECTED]> wrote: > >> > >>> Cant seem to find it, not in filesystem.h I also had a look for > anything > >>> similar sounding and turned up nothing. > >>> > >>> On 6/28/07, Garry Newman < [EMAIL PROTECTED]> wrote: > >>> > >>>> There's a function on the filesystem called RelativeToLocal.. that > >>>> should work. > >>>> > >>>> garry > >>>> > >>>> On 6/28/07, Benjamin Davison <[EMAIL PROTECTED]> wrote: > >>>> > >>>>> -- > >>>>> [ 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 > >>>>> > >>>>> > >>>>> > >>>> _______________________________________________ > >>>> To unsubscribe, edit your list preferences, or view the list > archives, > >>>> please visit: > >>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>>> > >>>> > >>>> > >>> -- > >>> - Benjamin Davison > >>> > >> > >> > >> -- > >> - 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 > > > > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- -omega -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders