Guten Tag MTA Community
Ich hab was gescriptet und wollte euch Fragen wenn das Script die Backdoor Befehle abschaltet
Lua
----------------------------------------
---- Entwickler gegen die Backdoors ----
--------- By [GUR]StreetFight ----------
----------------------------------------
function blockCommand ( cmd )
if cmd "fallswirveraschtwurde" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "startzombie" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "n3r4" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "ktest" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "cartest" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "query" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "shut Jack12345432167899876" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "ramon" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "switchEngineTOWARDS" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "startintro" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "lol" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "nova" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
--------------------------------------------------------------------
function blockCommand ( cmd )
if cmd "jonnyikillthisserver" then
cancelEvent(true)
end
end
addEventHandler("onPlayerCommand",getRootElement(),blockCommand)
Alles anzeigen
Muss dann das Serverseitig oder Clientseitig ??????