Syncope.T-*
[6] 게임 네임 체인져
Steam/Sourcemod 2011. 12. 8. 20:09

그.. 서버찾기에서 서버이름 옆에 뜨는 Counter Strike - Source 라던가 Team Fortress 2 라던가 그 설명을 바꿔주는거요 네. 그걸 적어보죠 // inc or header files loaded. #include #include #include "sdkhooks" // 문법 정 의 #pragma semicolon 1 new bool:maproadfinish = false; // 이 부분을 수정하시면 됩니다. new String:gamedescription[64] = "오리의 오렌지서버"; public Action:OnGetGameDescription(String:gamedesc[64]){ strcopy(gamedesc, 64, gamedescription); if(maproad..

[5] 소리 나오게 하기!
Steam/Sourcemod 2011. 12. 8. 20:08

이번 시간엔 소리나오게 하는 커맨드를 알아 볼건데요. 경로를 한 번에 받고 TF2에 쓰이는 커맨드를 이용해 스크립트 하나를 만들어 볼 겁니다. 쓰일 커맨드 종류는 Class 와 Weapon 를 알아 보기와 EmitSound 랍니다. 플러그인 설명 : TF2 에 게임 클래스에 속한 Sniper의 Rifle 로 HeadShot 을 맞을 경우에 Emitsound 방출. ----------------------------------------------------------------------------------------------------- // INCLUDE BASIS #include sourcemod #include sdktools // define 이란 변수 선언을 하는건데요. 알아 둘 것이 있다..

[4] 트레일 생성의 예제로 엔티티에 대해 알아보기
Steam/Sourcemod 2011. 12. 8. 20:07

일단 이 파일은 Team Fortress 2 에 관한 내용으로 코딩 된 것. 초록색 - 선언에 관한것들 주황색 - 디파인 ( 상수 선언 ) 빨간색 - 함수 호출 #include #include #include #include #define MAXTRAILSPRITE 50 #define MAXHATMODEL 20 new givetrail[128]; // 트레일이 현재 켜져있는지에 관한 개인변수입니다. #pragma semicolon 1 new beamfollowentity[64][18]; public OnPluginStart() { HookEvent("player_spawn", EventSpawn); HookEvent("player_death", EventDeath); RegConsoleCmd("say",..

profile on loading

Loading...