Get player's Position, More like direction
#1

Greetings,
I want to know if it's possible to make a system like you type a cmd, and it tells you if that specific player is standing in your left side or right side like here.
PHP код:
CMD:getpos(playeridparams[])
{
  new 
Float:xFloat:yFloat:z;
  
GetPlayerPos(playeridxyz);
  for(new 
0MAX_PLAYERSi++)
  {
  if(
IsPlayerInRangeOfPoint(i6.0x,z) && != playerid)
  {
  
//what to do here
  //and make a string like where the player is standing
  //ex: ID 9 is standing at the right side
  
}
  }
  return 
1;

Reply


Messages In This Thread
Get player's Position, More like direction - by Ebisu - 03.07.2017, 15:24
Re: Get player's Position, More like direction - by Lynn - 03.07.2017, 19:47
Re: Get player's Position, More like direction - by Nero_3D - 03.07.2017, 20:35
Re: Get player's Position, More like direction - by Pottus - 03.07.2017, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)