You are viewing our Forum Archives. To view or take place in current topics click here.
#11. Posted:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
SyntaxError_81 wrote-Jordan- wroteZ61 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.
- 1useful
- 0not useful
#12. Posted:
Status: Offline
Joined: Oct 20, 201113Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201113Year 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) :
you would appreciate how hard it must of been to write?
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?
- 0useful
- 0not useful
#13. Posted:
Status: Offline
Joined: Jul 03, 201014Year 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.
- 0useful
- 0not useful
#14. Posted:
Status: Offline
Joined: Oct 20, 201113Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201113Year Member
Posts: 322
Reputation Power: 13
Dicax wroteSyntaxError_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.
- 0useful
- 0not useful
#15. Posted:
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 wroteDicax wroteSyntaxError_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?
- 0useful
- 0not useful
#16. Posted:
Status: Offline
Joined: Oct 20, 201113Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201113Year Member
Posts: 322
Reputation Power: 13
#17. Posted:
Status: Offline
Joined: Dec 14, 201014Year Member
Posts: 283
Reputation Power: 11
Status: Offline
Joined: Dec 14, 201014Year 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.
- 0useful
- 0not useful
#18. Posted:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year 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.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.