I suggested shit Sleep(); because os.execute("taskkill /PID ) is too unsteady.. it depends on your windows/windows version, administrator rights, partitions etc.
For example:
(05-15-2014 13:54 PM)eustach3 Wrote: I suggested shit Sleep(); because os.execute("taskkill /PID ) is too unsteady.. it depends on your windows/windows version, administrator rights, partitions etc.
For example:
Whereas, Sleep(), even though it`s a shit, never seems to fail in closing your game
btw administrator rights need to run like admin,so it cant be reason, tower not work if just a user run it
and why need full path if that taskkill is cmd command ???
Yeah it`s a task executor from run, but it depends on the windows config.
If the environmental variable of windows %PATH% is not set automatically the os.execute will not find the correct path. It`s a common issue on some windows versions.
Take a look i made a video of what`s happening to me
function OnTeleportToLocation(user, oldLocation, newLocation)if user:IsMe()then
Sleep();end;
I wrote in the previous post,
the first one wih LogOut(); will disconnect you.. but assuming that you are farming it may not be able to disconnect you instantly.. so i suggested using the second one with Sleep() .. because this will crush your client.
And by the way, they are both plugins.. Sleep() will not crush client in script, and what you ask can be done by plugin, so put the one you want in your plugin
(05-15-2014 20:02 PM)Atrivido Wrote: I want a GM type they teleport logout
I really dont understand this
(This post was last modified: 05-15-2014 20:28 PM by eustach3.)