25.07.2015, 13:27
You should notice the error when you read this
Make sure you never load a "load number" after 3, otherwise increase "MAX_LOAD_NUMBERS"
pawn Code:
#define MAX_LOAD_NUMBERS 3
enum PlayerPosition
{
Float:XPos,//Creating the x array. In a float, because it's the x position.
Float:YPos,//Creating the y array. In a float, because it's the z position.
Float:ZPos,//Creating the z array. In a float, because it's the z position.
Float:PAngle,//Creating the PAngle array. In a float, because it's the angle.
SavedPosition//It's just a simply int array. So we can check if the player has already /s, so he won't go to 0,0,0
}
new PPosition[MAX_PLAYERS][MAX_LOAD_NUMBERS][PlayerPosition];