face look at (help)
#1

how can i make that if i wave a BOT he look at my player?
Reply
#2

PHP код:
CMD:wave(playeridparams[])
{
//if your script is /wave [ID], then check if the ID is bot. = Better here
    
if(targetid==NPC/*&&They are close to eachother*/)
    {
        new 
Float:FA;
        
GetPlayerFacingAngle(playeridFA);
        
SetPlayerFacingAngle(targetidFA+180.0);
        
format(msgsizeof(msg), "%s and %s had a moment. They will get married soon"PlayerName(playerid), PlayerName(targetid));
        
SendClientMessageToAll(COLOR_SEXYmsg);
        
ApplyAnimation(targetid, ......);
    }

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)