-
PockieNinja, Release Soon
Anyone remember
Anyone remember that command to use the pvp script with.
I mean like &scrint <whatgoeshere>
Or is that wrong aswell lol
Spent the past 2 hours trying everything i can think of and nothing seems to work.
Any ideas are helpful.
-
-
Account Upgraded | Title Enabled!
Re: Anyone remember
&scrint <then type the script function to use>
function must be set to be availabe to be called by admins
ex. &scrint SetPKon
notice the function in the script below
open [main]
var InterBlock 1
InterArg 2
PVPON "0".
interruptclear all.
interruptset admin "" 1 "". ; admin kann funktionen aus dem spiel heraus aufrufen
interruptset Sec "" 99999 10 "setPK".
call "SetPKoff".
infinite ; Für immer
open
waitinterrupt InterBlock "InterArg". ; Warte auf befehle
call InterBlock "Default".
close
close
open [setPK]
if PVPON === "0"
then
open
battlestop PK.
close
else if PVPON === "1"
then
open
battlestart PK.
close
close
open [SetPKon]
battlestart PK. ; freepk on
broadcast all "PvP enabled.".
PVPON = "1".
interruptset admin "" 1 "".
interruptset Sec "" 99999 10 "setPK".
close
open [SetPKoff]
battlestop PK. ; freepk off
broadcast all "PvP disabled.".
PVPON = "0".
interruptset admin "" 1 "".
interruptset Sec "" 99999 10 "setPK".
close
open [KickAll]
broadcast all "Kicking all Players.".
; pause Sec 2.
linkto all "Eld" "Eld" 1 1.
close
open [Default]
broadcast Handle "Block not exist" InterruptArg.
interruptset admin "" 1 "".
close
open [Check]
broadcast all "Script in running" InterArg.
interruptset admin "" 1 "".
close
-
PockieNinja, Release Soon
Re: Anyone remember
Already got all that, but it didn't work using any of the script as a command.
I've run the script with pinescript and with field.txt both made no difference.
-
Account Upgraded | Title Enabled!
Re: Anyone remember
place the script on the map in the field.txt like the pvp script Map\pvp
then restart the server and go to that map and try it
-
PockieNinja, Release Soon
Re: Anyone remember
Tried that already and didn't work lol
This is why I posted :)
-
Account Upgraded | Title Enabled!
Re: Anyone remember
did you use proper caps in the function name?
-
Proficient Member
Re: Anyone remember
sounds to me like either ur not placing the script in the correct spot/spelling it correctly in field.txt or ur script is bugged
-
PockieNinja, Release Soon
Re: Anyone remember
I'm using stu's pvp script as a test, so if its wrong you can answer to Stu's rage later lol, I doubt its wrong.
It seems fine, the field.txt is set up correctly to use it with the caps right ect.
I've tried loading it with and without pinescript.txt also.
&scrint SetPKon
Does not work, I've tried multipul variations for the &scrint command but nothing works, got any ideas about making maps permenantly PvP?
Ive tried using the entire FBZ rows to set a map up to use pvp, but that did not work either lol
-
PockieNinja, Release Soon
Re: Anyone remember
Ok, solved all issues, shinetables screwed up my field.txt and it was basically corrupt, so notepad ftw :)
-
Account Upgraded | Title Enabled!
Re: Anyone remember
i never used shinetables, i always used speadsheets and i made a special one for field.txt. glad you fixed your issue
-
PockieNinja, Release Soon
Re: Anyone remember
Yea never using shinetables again lol
Notepad ++ is good enough, sure it will take longer to edit but who cares :)