2021-02-27, 12:47 PM
(2021-02-26, 10:30 PM)Virsenas Wrote: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.
Isn't it possible to do that?