[HELP] PlayerToPoint with HOTKEY is not working.. :/
#6

David yours does the same exact thing as his does already.

Moustafa: Use the code you origionally had, just put differnet coords, like the following:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if(newkeys & KEY_ACTION)
  {
   if (PlayerToPoint(1, playerid, -2038.6663,-87.8214,35.3203))
   {
     SetPlayerPos(playerid, -2038.6670,-87.1617,35.4203);
     return 1;
   }
   else if(PlayerToPoint(1, playerid, x, y, z))
   {
     // stuff here
   }
  }
  return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)