Commit 054cdccb authored by Legodev's avatar Legodev

Merge branch 'patch-1' into 'master'

Update config.cpp (REmOveD eXtrA ')

See merge request APMS-Plugins/RopeClimb!1
parents 400eff10 bff522cd
class CfgPatches
{
class RopeClimb {units[] = {};};
};
class Plugins
{
class RopeClimb
{
name = "Rope Climb";
desc = "A terrible plugin for rope climbing";
tag = "ROPC";
};
};
class CfgPluginEvents {
class PlayerEvents {
class Events {
class ROPC_Fired {
type = "Fired";
function = "ROPC_fnc_OnFired";
};
};
};
};
class CfgPluginActions {
class RopeClimbing {
text = "Climb Rope";
Condition = "_nearestRope = (getpos player) nearestObject 'rope';_bottom = ((ropeEndPosition _nearestRope) select 1);_dist = ((getposatl player) distance _bottom);(_dist < 2)'";
class Actions {
class Climb {
text = "Climb Rope";
condition = "true";
action = "[] spawn ROPC_fnc_ClimbRope;";
};
};
};
};
class CfgFunctions
{
class ROPC
{
class Client
{
file = "RopeClimb\Client";
isclient = 1;
class initClient {};
class ClimbRope {};
class OnFired {};
};
};
class CfgPatches
{
class RopeClimb {units[] = {};};
};
class Plugins
{
class RopeClimb
{
name = "Rope Climb";
desc = "A terrible plugin for rope climbing";
tag = "ROPC";
};
};
class CfgPluginEvents {
class PlayerEvents {
class Events {
class ROPC_Fired {
type = "Fired";
function = "ROPC_fnc_OnFired";
};
};
};
};
class CfgPluginActions {
class RopeClimbing {
text = "Climb Rope";
Condition = "_nearestRope = (getpos player) nearestObject 'rope';_bottom = ((ropeEndPosition _nearestRope) select 1);_dist = ((getposatl player) distance _bottom);(_dist < 2)";
class Actions {
class Climb {
text = "Climb Rope";
condition = "true";
action = "[] spawn ROPC_fnc_ClimbRope;";
};
};
};
};
class CfgFunctions
{
class ROPC
{
class Client
{
file = "RopeClimb\Client";
isclient = 1;
class initClient {};
class ClimbRope {};
class OnFired {};
};
};
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment