11.07.2011, 14:50
Hello guys. Let's say i have an array:
and an enumeration
And if I do like this:
He teleports me somewhere, and i get a very very very big LOW FPS, and i can't move, and it got LAG, and it show me the message: Stay within your world bound !
But if i do like this:
It teleports me correctly ...
Why !?
pawn Код:
new const Float: Coords[1][3] =
{
{2002.8436,-1645.1097,7.17220}
};
pawn Код:
enum
{
_X,
_Y,
_Z
}
pawn Код:
// OnPlayerCommandText
if(!strcmp(cmdtext, "/test", true))
SetPlayerPos(playerid, Coords[0][_X], Coords[0][_Y], Coords[0][_Z]);
But if i do like this:
pawn Код:
// OnPlayerCommandText
if(!strcmp(cmdtext, "/test", true))
SetPlayerPos(playerid, Coords[0][0], Coords[0][1], Coords[0][2]);
Why !?