發新話題
打印

i have made a server.cfg...then wt should i do next?? how 限時出tank ?

[Close]
引用:
原帖由 yeahya 於 2010-3-5 23:36 發表


係呀  我都試過
睇番佢z_spawn用servercommand
咁樣呢個就只限你自己開ser時有開cheats先用得
唔係就無法使用z_spawn指令定時定候生隻tank出黎
i thought that you know about sourcemod scripting..
but it is seriously wrong.
ya,it is invalid to run z_spawn tank while sv_cheats 1 is disable
but the author added[SetCommandFlags("z_spawn", flags & ~FCVAR_CHEAT);]
Before the command:
ServerCommand("z_spawn","tank","auto");
so meant that command can run it without using sv_Cheats 1
THAT ALL.
引用:
原帖由 haroldchan2030 於 2010-3-6 06:25 發表


wt software i should use in order to change .sp to smx file?? and u mean the script are not correct?? how is it changed to be correct?
i guess you are newbie about it.
first of all,you should know the define of  [SCRIPT] and [Command],so google it yourself
Re:wt software i should use in order to change .sp to smx file?
Ans: you  can use sourcemod compiler to compile is into smx Plug-in file,,or else you can copy and paste the code into http://www.sourcemod.net/compiler.php
then click on the Compile,,,finially,download the file and put it into your plugin folder of source mod,,.,re-open left 4 dead 2 dedicated server and try it....if work....congratulation...you'r done..

[ 本帖最後由 tom1314 於 2010-3-6 11:42 編輯 ]

TOP

引用:
原帖由 haroldchan2030 於 2010-3-6 15:17 發表


then at first, how to make a .sp file?
Just create a text file and put the code inside.save it
then rename it as xxxxx.sp

TOP

發新話題