okay sothis is what i get
function OpenMOTDOnSpawn(ply)
if string.Left(game.GetMap(),2) != "bb" then //Do so it wont popup on bb_ maps.
ply:ConCommand("OpenMotd")
end
end
hook.Add("PlayerInitialSpawn","MOTDSPawnHook",OpenMOTDOnSpawn)
function OpenChatCommand( ply, text, Team, death)
local Explode = string.Explode(" ",text)
if string.Left(game.GetMap(),2) != "bb" then //Do so it wont popup on bb_ maps.
if text == "!motd" then
ply:ConCommand("OpenMotd")
elseif text == "!mode" then
ply:ConCommand("OpenModeMenu")
end
/*
elseif Explode[1] == "!playername" then
ply:ConCommand("Switchmahname "..Explode[2])
end
*/
end
end
hook.Add( "PlayerSay", "Start", OpenChatCommand)
where do i put my website url and my custome rules?
I would like you to post this in here: [url]http://www.facepunch.com/showthread.php?t=1160598[/url]
Sorry, you need to Log In to post a reply to this thread.