make(input, type, button)
{
self notifyOnPlayerCommand("s", button);
self waittill("s");
t[2] = {self getOrigin(), null};
pt(1);
self waittill("s");
t[1] = self getOrigin();
pt(2);
if(type != 1){
[[input]](t[0]), (t[1]),(0, 0, 0));}
else{
[[input]](t[0]), (t[1]);}
pt(3);
}
pt(c){switch(c){
case 1: self iPrintLnBold("Start saved.");break;
case 2: self iPrintLnBold("End saved.");break;
case 3: self iPrintLnBold("Done.");break;
}}
//make(function, type, button)
make(CreateWalls, 1, "+actionslot 2");
Copyright © 2026, NextGenUpdate.
All Rights Reserved.