addEvent("killPlayerr",true)
addEventHandler("killPlayerr",root,
function (player)
local player = getPlayerFromName(player)
if ( player ) then
killPed(player)
outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Killed ",root,255,0,0,true)
end
end
)
addEvent("onKick",true)
addEventHandler("onKick",root,
function (player)
local player = getPlayerFromName(player)
if ( hasObjectPermissionTo ( kick, "function.kickPlayer" ) ) then
kickPlayer ( player,kick, "مسابقة السحب العشوائي" )
outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Kick",root,255,0,0,true)
end
)
addEvent("onBan",true)
addEventHandler("onBan",root,
function (player)
local player = getPlayerFromName(player)
if ( hasObjectPermissionTo ( ban, "function.banPlayer" ) ) then
banPlayer ( player,ban, "مسابقة السحب العشوائي" )
outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Ban (1 mints)" .. getPlayerName(source),root,255,0,0,true)
end
)