How would you check if a player is infront of you?
Also the other thing is how do you show somebody is taking damage and possibly died from something else like a Kick in cs?
Saw this code in a ClusterGernade..Don't get it.. Can't remeber how this stuff works. To much ( GAY ) Java.
//http://www.amxmodx.org/funcwiki.php?go=func&id=262
How do you know all the different types?
Code:
//Displays who killed who
message_begin( 2, 83 )
write_byte( WhatDoYouPut? )
write_byte( WhatDoYouPut )
write_byte( 0 ) //No idea what this does
write_string( "grenade" )
message_end()
I was going to try something like:
Code:
new origin[3], target[3];
if(cmd_target(id, target))
{
get_user_origin(id,origin)
if(get_distance(origin,target) > 2)
{
}
}