Please help me write this function

Hossi_Bad

Участник
Автор темы
68
23
Hello everyone, don't be tired.

I added the following script to a Weapon Hack cheat:

Lua:
function ev.onSendPlayerSync(data)

if dgun then

data.weapon = 0

end

end

After writing this script, I was not kicked from the server.

But when I shoot the players
The player is not damaged.

Please help me in writing the function.

Teach accurately and completely.

Thankful.