Jump to content

Recommended Posts

Posted

I am looking for something like knife hack like on 35 hp servers .. not speedhack cause i ll get banned in 10 secs.. something usefull for 35 hp maps :/ is something like that ?? if yes please gimme link or tutorial or soemthing :P

Posted

Code:

const MAXDISTANCE = 64.02

in Viewport:
- Loop through entitys by index i
- If current entity is an enemy then find out distance
- After the loop find out the nearest enemy
- If the nearest enemys distance is below or equal to MAXDISTANCE Then attack
- cl_enginefuncs.pfnClientCmd('+attack2;wait;wait;-attack2');

 

 

Posted

Code:

const MAXDISTANCE = 64.02

in Viewport:
- Loop through entitys by index i
- If current entity is an enemy then find out distance
- After the loop find out the nearest enemy
- If the nearest enemys distance is below or equal to MAXDISTANCE Then attack
- cl_enginefuncs.pfnClientCmd('+attack2;wait;wait;-attack2');

 

 

what with that code ?? i am not skilled very much... :/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...