A little question
#1

Is there any way to set someone a special action like aiming? ( Holding the RMB )
Reply
#2

ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)


As for the specific animation, you could search samp's wiki.
Reply
#3

I'd recommend using a robbery animation. Note; there is nothing like SPECIAL_ACTION_AIMING, or anything, how-ever aiming can be simulated using a robbery-type animation. Here are some animations that may help:

pawn Code:
ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 1, 1);
pawn Code:
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0, 1);
The first one as the name suggests is the animation of a cop aiming (at), and or arresting (the) player. In singleplayer, it is traditionally used when a cop busts a player thats inside a vehicle.
Reply
#4

Quote:
Originally Posted by Abagail
View Post
I'd recommend using a robbery animation. Note; there is nothing like SPECIAL_ACTION_AIMING, or anything, how-ever aiming can be simulated using a robbery-type animation. Here are some animations that may help:

pawn Code:
ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 1, 1);
pawn Code:
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0, 1);
The first one as the name suggests is the animation of a cop aiming (at), and or arresting (the) player. In singleplayer, it is traditionally used when a cop busts a player thats inside a vehicle.
Can you set a player to aim if he doesn't press RMB?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)