public BitchSlap(victim)
{
new Float:vec[3];
new Float:Min = 1000.0, Float:Max = 1000.0;
vec[0] = GetRandomFloat(Min, Max);
vec[1] = GetRandomFloat(Min, Max);
vec[2] = GetRandomFloat(Min, Max);
TeleportEntity(victim, NULL_VECTOR, NULL_VECTOR, vec);
}
I'm currently using this
WORKING stock ( or public lol ) which makes the target fly in a random direction. If there's an attacker to this, how to make the victim fly backwards to the attacker's location? I'm a bit bad at vectors :/
Edit: Solved by using this CS 1.6 plugin:
https://forums.alliedmods.net/showth...ight=dodgeball
__________________
I am available to make plugins for pay.
Discord: Eyal282#1334