Login to ZARP





View BBCode Back »

hook.Add( "AcceptInput", "SSRPCode", function( ent, name, activator, caller, data )
	
	if ent:GetClass() == "func_button" and (name == "Lock" or name == "Unlock") and ent:MapCreationID() == 2472 then 
		local str = "PD lock down has started"
		
		if (name == "Lock") then
			str = "PD lock down has ended"
		end
		
		for k,v in pairs(player.GetAll()) do 
			
			v:ChatPrint(str)
			
		end
	end
	
end )

https://pastebin.com/raw/wNqvZmx4

BBCode


Time to create page: 0.066 seconds

159 PLAYERS ONLINE

Connect to server View Gametracker DarkRP
10/127
Online
Connect to server View Gametracker Deathrun
0/40
Online
Connect to server View Gametracker TTT
0/47
Online
Connect to server View Gametracker Bhop
0/32
Online
Connect to server View Gametracker Surf
0/32
Online
Connect to server View Gametracker Prop Hunt
0/42
Online
Connect to server View Gametracker Sandbox
0/42
Online
Connect to server Discord
149/971
Online
Top