View Single Post
repingayok
Senior Member
Join Date: Sep 2008
Old 11-24-2015 , 15:39   Re: [Potti] AIM Angle of bot
Reply With Quote #10

Quote:
Originally Posted by lazarev View Post
PHP Code:
public myCommand(id
    
botangles[id][1] = random_float(-180.0,180.0);

// in fm_cmdstart()

        
if(movement == && alive && button&IN_ATTACK) {
            static 
Float:target[3]
            
get_user_aim(id,target)
            
aim_at_origin(bot,target,angles)
        }
        else if( 
movement != ) { // !add this check!
            
get_uc(uc_handle,UC_ViewAnglesangles
I can't write AMXX plugins, who can help me and give FULL "potti.sma" with this code ?

P.S.: sorry for my bad english.
repingayok is offline