Posts: 1,801
Threads: 21
Joined: Mar 2008
Reputation:
0
Finding out the nearest player id would require a hack or at least memory hacking, so do not expect help on that here.
You can however create regular key binds, like "/cuff " and type the ID yourself. Making it type the nearest ID would be the kind of macro you should be banned for in my opinion.
Posts: 13
Threads: 2
Joined: Nov 2012
Reputation:
0
Make a loop that runs /cuff 1-500 lul
Posts: 579
Threads: 5
Joined: Oct 2015
20.02.2018, 10:39
(
Last edited by iKarim; 21/02/2018 at 09:55 AM.
)
Quote:
Originally Posted by DannyW
Make a loop that runs /cuff 1-500 lul
|
You do realize that will send 500 commands in a short amount of time that's enough to get him banned for flooding?
Posts: 5
Threads: 1
Joined: Dec 2014
Reputation:
0
I know how to make a keybind via a software but i want that nearest ID
Also I don't have coding knowledge
Posts: 579
Threads: 18
Joined: Apr 2017
Reputation:
0
I don't see how is that hard, you can use one of keys provided by SA:MP as hotkey (Y, N, H and so on) and then send the cmd_COMMAND_NAME_HERE(playerid, GetNearestPlayerID(playerid));
Note: GetNearestPlayerID will most likely return an integer while zcmd requires second param to be string so you'll have to format the integer into a string and pass to the cmd.
Posts: 579
Threads: 18
Joined: Apr 2017
Reputation:
0
Then i refuse to help for such thing.
Posts: 3,004
Threads: 12
Joined: May 2011
Hello,
SA:MP hacking forums for your service.
So you want to setup an ez aimbot to be turned on while you type?
Posts: 5
Threads: 1
Joined: Dec 2014
Reputation:
0
Well after this i went to the answer. i cant keybind with IDS even if i want to risk get banned
Posts: 240
Threads: 5
Joined: Nov 2017
Quote:
Originally Posted by DannyW
Download AHK, any version's fine but 2.0's the most recent.
Create a file called whateveryouwant.ahk and write this inside:
Change F2 to whatever keybind you'd like.
Code:
F2::
Loop, 500
{
SendInput t/cuff %A_Index%{enter}
}
return
Was being sarcastic but I'll teach him now, thanks.
|
no cuff id 0?
add
PHP Code:
SendInput t/cuff 0{enter}
outside the loop
and also goodluck getting unbanned on the server when you spam the command