• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] How can I do this?
#3
Code:
IsPlayerInArea(playerid, Float:MinX, Float:MaxX, Float:MinY, Float:MaxY)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
#pragma unused z
? ? if(x >= MinX && x <= MaxX && y >= MinY && y <= MaxY) { return 1; }
? ? return 0;
}

P.S. I think you can only set gravity only for all players. You can't set the gravity different for other players.
  Reply


Messages In This Thread
How can I do this? - by Boxi - 2021-02-26, 09:14 PM
RE: How can I do this? - by destiezk - 2021-02-26, 09:45 PM
RE: How can I do this? - by Boxi - 2021-02-27, 12:46 PM
RE: How can I do this? - by destiezk - 2021-02-28, 10:45 AM
RE: How can I do this? - by Virsenas - 2021-02-26, 10:30 PM
RE: How can I do this? - by Boxi - 2021-02-27, 12:47 PM
RE: How can I do this? - by Virsenas - 2021-02-27, 01:14 PM
RE: How can I do this? - by Kwarde - 2021-02-27, 02:13 PM
RE: How can I do this? - by DandoRYx - 2021-02-28, 12:11 PM
RE: How can I do this? - by Boxi - 2021-02-28, 01:58 PM
RE: How can I do this? - by Y_Less - 2021-03-07, 01:15 PM

Forum Jump: