its probably because it sends too many packets since its in a loop with a 1ms delay, the server most likely rejects the damage (since too many packets within a short time period)can same one edit this lua script its work in free rome server but whene i join roleplay server they damag only 21 and stop help please
local pidoras = false
local targetId = -1
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampAddChatMessage("copyright:Sheva", -1)
sampAddChatMessage("more cheat contacte wk1y on dc", -1)
sampRegisterChatCommand("ft", function(id)
if id and tonumber(id) then
targetId = tonumber(id)
pidoras = true
sampAddChatMessage("u nick: " .. targetId, -1)
else
pidoras = false
targetId = -1
sampAddChatMessage("u stop nicking.", -1)
end
end)
while true do
wait(0)
if pidoras and targetId ~= -1 then
printStringNow("~Y~Target Player ID: ~S~" .. targetId, 1500)
sampSendGiveDamage(targetId, 5.28, 0, 3)
wait(250)
end
end
end
yes its work whene i do 200 delay but its too slow can u you raise the damage pleaseits probably because it sends too many packets since its in a loop with a 1ms delay, the server most likely rejects the damage (since too many packets within a short time period)
JavaScript:local pidoras = false local targetId = -1 function main() if not isSampLoaded() or not isSampfuncsLoaded() then return end while not isSampAvailable() do wait(100) end sampAddChatMessage("copyright:Sheva", -1) sampAddChatMessage("more cheat contacte wk1y on dc", -1) sampRegisterChatCommand("ft", function(id) if id and tonumber(id) then targetId = tonumber(id) pidoras = true sampAddChatMessage("u nick: " .. targetId, -1) else pidoras = false targetId = -1 sampAddChatMessage("u stop nicking.", -1) end end) while true do wait(0) if pidoras and targetId ~= -1 then printStringNow("~Y~Target Player ID: ~S~" .. targetId, 1500) sampSendGiveDamage(targetId, 5.28, 0, 3) wait(250) end end end
Don't know how well it'll work you can keep increasing the delay from 250 to 500 if its still too fast
yes its work whene i do 200 delay but its too slow can u you raise the damage please
sampSendGiveDamage(targetId, 5.28, 0, 3)
ok brother i will try thank uJavaScript:sampSendGiveDamage(targetId, 5.28, 0, 3)
You can change the 5.28 to something else, if the server is configured properly it will reject the damage or correct it, meaning it won't work. You can try though i don't know what kind of server you'reon