View Single Post
Fredd
Veteran Member
Join Date: Jul 2007
Old 04-30-2008 , 03:00   Re: [EXTENSION] Dukehacks (CSS)
Reply With Quote #4

LDuke: instead of using "engine->GetGameDir(..)" you could use the ISourceMod class pointer which is declare in smsdk files, you could simply go
Code:
smutils->GetGameFolderName()
to retrieve something like "cstrike"

kthxbai dukey!
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline