allowcheats = sv_cheats.value !=0;// sv_cheatsstrcpy(level, Cmd_Argv(1));// if the video isn't initialized already, it needs to beHost_InitVideo();SV_SpawnServer(level);#endif} 開發者ID:DrLabman,項目名稱:Vengeance-r2,代碼行數:59,代碼來源:host_cmd.c 示例5: SV_Map_f ▲點讚 1...
He cheats at cards. You're not allowed to look at the answers— that's cheating. They cheat people by charging too much for building materials. Why is there more cheating in football today? Even in the modern era, it is still possible for sportspeople to cheat. Don't ...
Cmd_ForwardToServer ();return; }if(!allowcheats) {SV_ClientPrintf("No cheats allowed, use sv_cheats 1 and restart level to enable.\n");return; }if(pr_global_struct->deathmatch && !host_client->privileged)return;if(sv_player->v.movetype != MOVETYPE_SNOWBOARD) { sv_player->v.movety...
首先输入sv_cheats 1,作弊模式 /// cl_xxxxx cl大概是client,客户端 的缩写,这里都是影响客户端而非服务端(sv)的设置,顺带一说,hammer中的实体:point_servercommand 有一个相对的point_clientcommand,前者更善于从服务端的层面输出命令,而后者则只会影响客户端...比如我要使用一个trigger控制某个进入trigger范围...
*/voidSV_PlayersOnly_f(void){if( !Cvar_VariableInteger("sv_cheats"))return; sv.hostflags = sv.hostflags ^ SVF_PLAYERSONLY;if(!( sv.hostflags & SVF_PLAYERSONLY ))SV_BroadcastPrintf( D_INFO,"Resume server physics\n");elseSV_BroadcastPrintf( D_INFO,"Freeze server physics\n"); ...