GetXYInFrontOfPlayer don't work?
#1

Код:
	  if(GetPlayerSpecialAction(zmogus) != SPECIAL_ACTION_CUFFED)
	  {
		 new Float:x, Float:y, Float:z;
	     TogglePlayerControllable(zmogus, false);
	     SetPlayerSpecialAction(zmogus, SPECIAL_ACTION_CUFFED);
		 SetPlayerFacingAngle(zmogus, playerid);
		 GetPlayerPos(playerid, x, y, z);
		 GetXYInFrontOfPlayer(playerid, x, y, 0.5);
		 SetPlayerPos(zmogus, x, y, z);
		 ApplyAnimation(playerid, "GANGS", "hndshkfa", 4.1, 0, 0, 0, 0, 0, 1);
	     Talk(playerid, "You're under arrest!");
	     return 0;
	  }
"zmogus" should appear in front of me, but it doesn't. Any solutions?
Reply


Messages In This Thread
GetXYInFrontOfPlayer don't work? - by iWhite - 08.09.2012, 10:54
AW: GetXYInFrontOfPlayer don't work? - by Nero_3D - 08.09.2012, 11:41

Forum Jump:


Users browsing this thread: 4 Guest(s)