You are viewing our Forum Archives. To view or take place in current topics click here.
#11. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
SyntaxError_81 wrote
-Jordan- wrote
Z61 wrote Nice, I like the facebook theme .

Thanks. It's a shame most people here are too stupid to care about work like this.


Why are you so harsh? Personally I hate HTML coding, I just find it boring. But I appreciate the work of others and I can see when someone has put a lot of work into something, which you have. So stop being an arse hole. Not everyone has to be a God of web development to understand or even enjoy a well constructed piece of code. Think about when you were a beginner you didn't master jQuery within a few minutes did you?


So you're saying someone with absolutely no knowledge of C++ would be able to appreciate a well-constructed C++ source. If that's the case then why do almost all threads containing good and well thought out content get ignored while badly written tutorials and piss poor VB code get the limelight.
#12. Posted:
SyntaxError_81
  • Ladder Climber
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
Because VB is a very popular language. If you looked at a piece of advanced Lua code I wrote ( A Weapon I Made For Garry's Mod) :

if ( !self:CanPrimaryAttack() ) then return end

   local eyetrace = self.Owner:GetEyeTrace();
   -- this gets where you are looking. The SWep is making an explosion where you are LOOKING, right?

   self:EmitSound ( self.Sound )
   -- this makes the sound, which I specified earlier in the code

   self:SendWeaponAnim( ACT_VM_PRIMARYATTACK )
   -- this makes the shooting animation for the 357

   local explode = ents.Create( "env_explosion" ) -- creates the explosion
   explode:SetPos( eyetrace.HitPos ) -- this creates the explosion where you were looking
   explode:SetOwner( self.Owner ) -- this sets you as the person who made the explosion
   explode:Spawn() -- this actually spawns the explosion
   explode:SetKeyValue( "iMagnitude", "220" ) -- the magnitude
   explode:Fire( "Explode", 0, 0 )
   explode:EmitSound( "weapon_AWP.Single", 400, 400 ) -- the sound for the explosion, and how far away it can be heard


you would appreciate how hard it must of been to write?
#13. Posted:
Zion
  • TTG Addict
Status: Offline
Joined: Jul 03, 201013Year Member
Posts: 2,120
Reputation Power: 95
Status: Offline
Joined: Jul 03, 201013Year Member
Posts: 2,120
Reputation Power: 95
SyntaxError_81 wrote Because VB is a very popular language. If you looked at a piece of advanced Lua code I wrote ( A Weapon I Made For Garry's Mod) :

if ( !self:CanPrimaryAttack() ) then return end

   local eyetrace = self.Owner:GetEyeTrace();
   -- this gets where you are looking. The SWep is making an explosion where you are LOOKING, right?

   self:EmitSound ( self.Sound )
   -- this makes the sound, which I specified earlier in the code

   self:SendWeaponAnim( ACT_VM_PRIMARYATTACK )
   -- this makes the shooting animation for the 357

   local explode = ents.Create( "env_explosion" ) -- creates the explosion
   explode:SetPos( eyetrace.HitPos ) -- this creates the explosion where you were looking
   explode:SetOwner( self.Owner ) -- this sets you as the person who made the explosion
   explode:Spawn() -- this actually spawns the explosion
   explode:SetKeyValue( "iMagnitude", "220" ) -- the magnitude
   explode:Fire( "Explode", 0, 0 )
   explode:EmitSound( "weapon_AWP.Single", 400, 400 ) -- the sound for the explosion, and how far away it can be heard


you would appreciate how hard it must of been to write?


That code doesn't really look like it took much effort. It isn't long and it isn't complex. I'm not going to join in to your guys' argument though; I have better things to do.

Anyways, nice job on the script. I myself don't have a use for it at the moment but I could see many situations where it would be practical.
#14. Posted:
SyntaxError_81
  • Ladder Climber
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
Dicax wrote
SyntaxError_81 wrote Because VB is a very popular language. If you looked at a piece of advanced Lua code I wrote ( A Weapon I Made For Garry's Mod) :

if ( !self:CanPrimaryAttack() ) then return end

   local eyetrace = self.Owner:GetEyeTrace();
   -- this gets where you are looking. The SWep is making an explosion where you are LOOKING, right?

   self:EmitSound ( self.Sound )
   -- this makes the sound, which I specified earlier in the code

   self:SendWeaponAnim( ACT_VM_PRIMARYATTACK )
   -- this makes the shooting animation for the 357

   local explode = ents.Create( "env_explosion" ) -- creates the explosion
   explode:SetPos( eyetrace.HitPos ) -- this creates the explosion where you were looking
   explode:SetOwner( self.Owner ) -- this sets you as the person who made the explosion
   explode:Spawn() -- this actually spawns the explosion
   explode:SetKeyValue( "iMagnitude", "220" ) -- the magnitude
   explode:Fire( "Explode", 0, 0 )
   explode:EmitSound( "weapon_AWP.Single", 400, 400 ) -- the sound for the explosion, and how far away it can be heard


you would appreciate how hard it must of been to write?


That code doesn't really look like it took much effort. It isn't long and it isn't complex. I'm not going to join in to your guys' argument though; I have better things to do.

Anyways, nice job on the script. I myself don't have a use for it at the moment but I could see many situations where it would be practical.


I started Lua yesterday.
#15. Posted:
Z61
  • V5 Launch
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
SyntaxError_81 wrote
Dicax wrote
SyntaxError_81 wrote Because VB is a very popular language. If you looked at a piece of advanced Lua code I wrote ( A Weapon I Made For Garry's Mod) :

if ( !self:CanPrimaryAttack() ) then return end

   local eyetrace = self.Owner:GetEyeTrace();
   -- this gets where you are looking. The SWep is making an explosion where you are LOOKING, right?

   self:EmitSound ( self.Sound )
   -- this makes the sound, which I specified earlier in the code

   self:SendWeaponAnim( ACT_VM_PRIMARYATTACK )
   -- this makes the shooting animation for the 357

   local explode = ents.Create( "env_explosion" ) -- creates the explosion
   explode:SetPos( eyetrace.HitPos ) -- this creates the explosion where you were looking
   explode:SetOwner( self.Owner ) -- this sets you as the person who made the explosion
   explode:Spawn() -- this actually spawns the explosion
   explode:SetKeyValue( "iMagnitude", "220" ) -- the magnitude
   explode:Fire( "Explode", 0, 0 )
   explode:EmitSound( "weapon_AWP.Single", 400, 400 ) -- the sound for the explosion, and how far away it can be heard


you would appreciate how hard it must of been to write?


That code doesn't really look like it took much effort. It isn't long and it isn't complex. I'm not going to join in to your guys' argument though; I have better things to do.

Anyways, nice job on the script. I myself don't have a use for it at the moment but I could see many situations where it would be practical.


I started Lua yesterday.

where did you learn LUA specific for Garrysmod at?
#16. Posted:
SyntaxError_81
  • Ladder Climber
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
[ Register or Signin to view external links. ]

Over at the GMod Wiki
#17. Posted:
xNZxAssAssiNx
  • Resident Elite
Status: Offline
Joined: Dec 14, 201013Year Member
Posts: 283
Reputation Power: 11
Status: Offline
Joined: Dec 14, 201013Year Member
Posts: 283
Reputation Power: 11
It looks quite nice and functions nicely as well. I have one suggestion, have an option that if it is clicked outside the popup div if it will close it or not. I know the code could be easily changed by someone who wants it but I think it should be in there.
#18. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
xNZxAssAssiNx wrote It looks quite nice and functions nicely as well. I have one suggestion, have an option that if it is clicked outside the popup div if it will close it or not. I know the code could be easily changed by someone who wants it but I think it should be in there.


Thanks for the feedback. I have a lot of planned updates and this is one of them. If you know jQuery well then I would really appreciate you forking the project and adding in this option since I'm currently busy enhancing the remote content feature.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.