24.01.2013, 15:31
Let me explain tou how you must take x, y and z from savedpositions.
There are saved a lot of things:
So you take what you need. For example, if you want to use the coords for SetPlayerPos, you get only x, y and z coordinates. So, if the code will look like this:
You get the x, y and z coordinates like this:
There are saved a lot of things:
pawn Код:
AddPlayerClass(modelid, x, y, z, z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
pawn Код:
AddPlayerClass(0,294.7047,-3559.4197,8.7597,94.8664,0,0,0,0,0,0); //
pawn Код:
294.7047, -3559.4197, 8.7597//there is x, y and z