GetPlayerTargetPlayer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetPlayerTargetPlayer (
/showthread.php?tid=596886)
GetPlayerTargetPlayer -
w3b - 23.12.2015
It has not function well or why not go? After samp wiki did not understand how to use, Excuse my bad English
ActorPeco = CreateActor(93, -28.2237,-91.6418,1003.5469,1.2956);
public OnPlayerUpdate(playerid)
{
if(GetPlayerTargetPlayer(playerid) == ActorPeco)
{
ApplyActorAnimation(ActorPeco,"SHOP","SHP_Rob_Give Cash",4.0,1,1,1,1,0);
}
return 1;
}
Re: GetPlayerTargetPlayer -
w3b - 23.12.2015
Tanks man