Tech Lounge > Programming
Help! ( "lua coders only" )
Peetah:
I dont see anything wrong. Mabe just me lol.
Frank:
Steal TTT dropping shiz.
ƒąĢĢǿŧ™:
Sorry I can't help.
I only know a bit of lua.
Maybe use Frank's suggestion.
coolzeldad:
What exactly is happening when you execute the function?
Are you running this serverside?
Maybe try with a weapon you know will work (if it's that issue)
Put a print command in the function to see if it's running ( if that's the issue )
Krasher:
--- Quote from: coolzeldad on May 13, 2010, 04:23:26 AM ---What exactly is happening when you execute the function?
Are you running this serverside?
Maybe try with a weapon you know will work (if it's that issue)
Put a print command in the function to see if it's running ( if that's the issue )
--- End quote ---
mmk will do.
Current Code: (init.lua) so little because I had to restart and I am trying to fix this before I go on to anything else.
--- Code: ---AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( 'shared.lua' )
/*------------------------------------------
KRASHER RULES :D, remember to say thanks
------------------------------------------*/
function GM:PlayerSpawn( ply )
self.BaseClass:PlayerSpawn( ply )
ply:SetGravity( 0, 90 )
ply:SetMaxHealth( 125, true )
ply:SetMaxSpeed( 345, 545 )
end
function GM:PlayerLoadout( ply )
ply:StripWeapons()
ply:Give("weapon_zm_carry")
end
function GM:PlayerInitialSpawn( ply )
self.BaseClass:PlayerInitialSpawn( ply )
ply:PrintMessage( HUD_PRINTTALK, "Hello, you are playing", GM.Name, "v", GM.Version)
end
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version