Small stupid error
#8

Quote:
Originally Posted by Tachibana
Посмотреть сообщение
Yea but (thx for editing my bump :3) in the one I posted now all of them have what they need... (as far as I can see)

EDIT: as well I just prefer in that way and the way u showed confused me as with these two
{x,y,z},
{x,y,z}

What are they about? isnt one enough?
Because instead of having 3 variables you have just 1 variable with all of the information in it. So it can be used like so:

pawn Код:
new Float:positions[1][3] = {
     {3221.3242,5632.3132,353.221}
};
Then you can simply set the players position using:

pawn Код:
SetPlayerPos(playerid, positions[1][0], positions[1][1], positions[1][2]);
Also for the solution to your error, look at my edited post.
Reply


Messages In This Thread
Small stupid error - by Tachibana - 28.06.2011, 06:27
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 06:30
Re: Small stupid error - by Tachibana - 28.06.2011, 06:33
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 06:36
JaTochNietDan - by Tachibana - 28.06.2011, 06:37
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 07:40
Re: Small stupid error - by Tachibana - 28.06.2011, 07:42
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 07:47
Re: Small stupid error - by Tachibana - 28.06.2011, 07:49
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 07:52

Forum Jump:


Users browsing this thread: 2 Guest(s)