Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- registerSpecialVar(GameConnection,"brickcount","%this.brickGroup.getCount()");
- registerSpecialVar(GameConnection,"bl_id","%this.bl_id");
- registerSpecialVar(GameConnection,"name","%this.getPlayerName()");
- registerSpecialVar(GameConnection,"kdratio","(isInt(%client.vceKills / %client.vceDeaths)) ? (%client.vceKills / %client.vceDeaths) : 0");
- registerSpecialVar(GameConnection,"clanPrefix","%this.clanPrefix","setClanPrefix");
- registerSpecialVar(GameConnection,"clanSuffix","%this.clanSuffix","setClanSuffix");
- registerSpecialVar(GameConnection,"score","%this.score","setScore");
- registerSpecialVar(GameConnection,"hat","$hat[%this.hat]");
- registerSpecialVar(GameConnection,"accent","$accent[%this.accent]");
- registerSpecialVar(GameConnection,"pack","$pack[%this.pack]");
- registerSpecialVar(GameConnection,"secondPack","$secondpack[%this.secondpack]");
- registerSpecialVar(GameConnection,"hip","$hip[%this.hip]");
- registerSpecialVar(GameConnection,"rleg","$rleg[%this.rleg]");
- registerSpecialVar(GameConnection,"rarm","$rarm[%this.rarm]");
- registerSpecialVar(GameConnection,"lleg","$lleg[%this.lleg]");
- registerSpecialVar(GameConnection,"larm","$larm[%this.larm]");
- registerSpecialVar(GameConnection,"chest","$chest[%this.chest]");
- registerSpecialVar(GameConnection,"decal","%this.decalName","setDecalName");
- registerSpecialVar(GameConnection,"face","%this.faceName","setFaceName");
- registerSpecialVar(GameConnection,"lastmsg","%this.lastMessage");
- registerSpecialVar(GameConnection,"lastteammsg","%this.lastTeamMessage");
- registerSpecialVar(GameConnection,"isAdmin","%this.isAdmin");
- registerSpecialVar(GameConnection,"isSuperAdmin","%this.isSuperAdmin");
- registerSpecialVar(GameConnection,"isHost","(%this.bl_id == getNumKeyID() || %this.isLocalConnection())");
- registerSpecialVar(Player,"damage","%this.getDamageLevel()","setDamage");
- registerSpecialVar(Player,"energy","%this.getEnergyLevel()","setEnergy");
- registerSpecialVar(Player,"health","%this.getDatablock().maxDamage - %this.getDamageLevel()","setHealth");
- registerSpecialVar(Player,"maxhealth","%this.getDatablock().maxDamage");
- registerSpecialVar(Player,"velx","getWord(%this.getVelocity(),0)");
- registerSpecialVar(Player,"vely","getWord(%this.getVelocity(),1)");
- registerSpecialVar(Player,"velz","getWord(%this.getVelocity(),2)");
- registerSpecialVar(Player,"vel","getWords(%this.getVelocity(),0,2)","setVelocity");
- registerSpecialVar(Player,"speed","vectorDist(%this.getVelocity(),\"0 0 0\")");
- registerSpecialVar(Player,"crouching","%this.crouch");
- registerSpecialVar(Player,"jumping","%this.jump");
- registerSpecialVar(Player,"jetting","%this.jet");
- registerSpecialVar(Player,"firing","%this.fire");
- registerSpecialVar(Player,"sitting","%this.vcesitting");
- registerSpecialVar(Player,"datablock","%this.getDatablock().uiName");
- registerSpecialVar(Player,"currentitem","%this.tool[%this.currTool].uiName","setCurrentItem");
- registerSpecialVar(Player,"item1","%this.tool[0].uiName","setItem",0);
- registerSpecialVar(Player,"item2","%this.tool[1].uiName","setItem",1);
- registerSpecialVar(Player,"item3","%this.tool[2].uiName","setItem",2);
- registerSpecialVar(Player,"item4","%this.tool[3].uiName","setItem",3);
- registerSpecialVar(Player,"item5","%this.tool[4].uiName","setItem",4);
- registerSpecialVar(Player,"posx","getWord(%this.getTransform(),0)");
- registerSpecialVar(Player,"posy","getWord(%this.getTransform(),1)");
- registerSpecialVar(Player,"posz","getWord(%this.getTransform(),2)");
- registerSpecialVar(fxDTSbrick,"ownername","%this.getGroup().name");
- registerSpecialVar(fxDTSbrick,"ownerbl_id","%this.getGroup().bl_id");
- registerSpecialVar(fxDTSbrick,"datablock","%this.getDatablock().uiName");
- registerSpecialVar(fxDTSbrick,"colorid","%this.getColorID()","setColor");
- registerSpecialVar(fxDTSbrick,"printcount","%this.printcount","setPrintCount");
- registerSpecialVar(fxDTSbrick,"printname","%this.getPrintName()","setPrintName");
- registerSpecialVar(fxDTSbrick,"name","%this.getBrickName()","setBrickName");
- registerSpecialVar(fxDTSbrick,"colorfxid","%this.getColorFXID()","setColorFX");
- registerSpecialVar(fxDTSbrick,"printid","%this.printid","setPrint");
- registerSpecialVar(fxDTSbrick,"shapefxid","%this.getShapeFXID()","setShapeFX");
- registerSpecialVar(fxDTSbrick,"posx","getWord(%this.getTransform(),0)");
- registerSpecialVar(fxDTSbrick,"posy","getWord(%this.getTransform(),1)");
- registerSpecialVar(fxDTSbrick,"posz","getWord(%this.getTransform(),2)");
- registerSpecialVar(Vehicle,"drivername","%this.getDriverName()");
- registerSpecialVar(Vehicle,"driverbl_id","%this.getDriverBL_ID()");
- registerSpecialVar(Vehicle,"damage","%this.getDamageLevel()","setDamage");
- registerSpecialVar(Vehicle,"health","%this.getDatablock().maxDamage - %this.getDamageLevel()","setHealth");
- registerSpecialVar(Vehicle,"maxhealth","%this.getDatablock().maxDamage");
- registerSpecialVar(Vehicle,"datablock","%this.getDatablock().uiName");
- registerSpecialVar(Vehicle,"velx","getWord(%this.getVelocity(),0)");
- registerSpecialVar(Vehicle,"vely","getWord(%this.getVelocity(),1)");
- registerSpecialVar(Vehicle,"velz","getWord(%this.getVelocity(),2)");
- registerSpecialVar(Vehicle,"vel","%this.getVelocity()","setVelocity");
- registerSpecialVar(Vehicle,"speed","vectorDist(%this.getVelocity(),\"0 0 0\")");
- registerSpecialVar(Vehicle,"posx","getWord(%this.getTransform(),0)");
- registerSpecialVar(Vehicle,"posy","getWord(%this.getTransform(),1)");
- registerSpecialVar(Vehicle,"posz","getWord(%this.getTransform(),2)");
- registerSpecialVar(MinigameSO,"lastmsg","%this.lastMessage");
- registerSpecialVar(MinigameSO,"membercount","%this.numMembers");
- registerSpecialVar("GLOBAL","date","getDate()");
- registerSpecialVar("GLOBAL","lastmsg","$VCE::Other::LastMessage");
- registerSpecialVar("GLOBAL","brickcount","$Server::BrickCount");
- registerSpecialVar("GLOBAL","time","getTime()");
- registerSpecialVar("GLOBAL","hour","getField(strReplace(getTime(),\":\",\"\t\"),0)");
- registerSpecialVar("GLOBAL","minute","getField(strReplace(getTime(),\":\",\"\t\"),1)");
- registerSpecialVar("GLOBAL","second","getField(strReplace(getTime(),\":\",\"\t\"),2)");
- registerSpecialVar("GLOBAL","simtime","getSimTime()");
- registerSpecialVar("GLOBAL","macintosh","isMacintosh()");
- registerSpecialVar("GLOBAL","windows","isWindows()");
- registerSpecialVar("GLOBAL","servername","$Pref::Server::Name");
- registerSpecialVar("GLOBAL","port","$Pref::Server::Port");
- registerSpecialVar("GLOBAL","maxplayercount","$Pref::Server::MaxPlayers");
- registerSpecialVar("GLOBAL","playercount","$server::playercount");
- registerSpecialVar("GLOBAL","pi","3.14159265");
Advertisement
Add Comment
Please, Sign In to add comment