Rope Script

Im looking for a script for the money printer cooler / money printer

i whant a rope atache but im not a good script pleas help me

[editline]9th January 2012[/editline]

// Get client’s CVars
local forcelimit = self:GetClientNumber( “forcelimit” )
local addlength = self:GetClientNumber( “addlength” )
local material = self:GetClientInfo( “material” )
local width = self:GetClientNumber( “width” )
local rigid = self:GetClientNumber( “rigid” ) == 1

// Get information we’re about to use
local Ent1, Ent2 = self:GetEnt(1), self:GetEnt(2)
local Bone1, Bone2 = self:GetBone(1), self:GetBone(2)
local WPos1, WPos2 = self:GetPos(1), self:GetPos(2)
local LPos1, LPos2 = self:GetLocalPos(1),self:GetLocalPos(2)
local length = ( WPos1 - WPos2):Length()

local constraint, rope = constraint.Rope( Ent1, Ent2, Bone1, Bone2, LPos1, LPos2, length, addlength, forcelimit, width, material, rigid )

Please use LUA tags, it will help us a lot.

[lua]
// Get client’s CVars
local forcelimit = self:GetClientNumber( “forcelimit” )
local addlength = self:GetClientNumber( “addlength” )
local material = self:GetClientInfo( “material” )
local width = self:GetClientNumber( “width” )
local rigid = self:GetClientNumber( “rigid” ) == 1

// Get information we’re about to use
local Ent1, Ent2 = self:GetEnt(1), self:GetEnt(2)
local Bone1, Bone2 = self:GetBone(1), self:GetBone(2)
local WPos1, WPos2 = self:GetPos(1), self:GetPos(2)
local LPos1, LPos2 = self:GetLocalPos(1),self:GetLocalPos(2)
local length = ( WPos1 - WPos2):Length()

local constraint, rope = constraint.Rope( Ent1, Ent2, Bone1, Bone2, LPos1, LPos2, length, addlength, forcelimit, width, material, rigid )
[/lua]

Correct lua tags must be written by the poster and [lua] look like this [/lua] (They aren’t the CODE tags, they are LUA ones [.lua] and [./lua] without the ‘.’)

I use [.lua] [./lua] its not working

Remove the dots, as I said…
It IS working, its just that it takes a browser reload to show up ^

The more I read your code the less sense it makes, what exactly are you trying to achieve?

Oeps you are right

-snop-