All pastes #437697 Raw Edit

Someone

public cpp v1 · immutable
·published 2007-04-13 05:52 UTC
rendered paste body
//Second version of model support. The server owner picks which files to send. C++/C# used.if(Directory.DirectoryExists(@"C:\documents and settings\username\desktop\server_models"){     if(File.FileExists(@"C:\documents and settings\username\desktop\server_models\Infernus.dff")     {          SendFile(ClientIPs,"C:\documents and settings\username\desktop\server_models\Infernus.dff");           //Rakknet code below         pServer->Send(C:\documents and settings\username\desktop\server_models\Infernus.dff);     }    cout << "Infernus model not found";}else{     Directory.CreateDirectory(@"C:\documents and settings\username\desktop\server_models");     if(File.FileExists(@"C:\documents and settings\username\desktop\server_models\Infernus.dff")     {          SendFile(,"C:\documents and settings\username\desktop\server_models\Infernus.dff");     }    cout << "Infernus model not found";}