18.01.2013, 17:46
If you want the player position you can do :
Go in-game and use the command "/save"
After you done this , you'll be able to get the coordinates . Sure , the question about this is where these coords go , it is easy . Go in "My documents" -> "GTA San Andreas User Files" -> "SA-MP" -> "savedpositions" .
If you'll open that you'll find the locations that have been saved . Let's give an simply explanation on them .
All those files get saved in a method like this :
And you'll be asking your self what all these coords are . Well , it is easy to be learned . Here , see this label :
The method like in the code is :
For the skins you can go on :
https://sampwiki.blast.hk/wiki/Skins:All
Check that for skins , and about weapons you can check this :
https://sampwiki.blast.hk/wiki/Weapons
Good luck
Go in-game and use the command "/save"
After you done this , you'll be able to get the coordinates . Sure , the question about this is where these coords go , it is easy . Go in "My documents" -> "GTA San Andreas User Files" -> "SA-MP" -> "savedpositions" .
If you'll open that you'll find the locations that have been saved . Let's give an simply explanation on them .
All those files get saved in a method like this :
Код:
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
Код:
skin The skin which the player will spawn with. Float:X The X coordinate of the spawnpoint of this class. Float:Y The Y coordinate of the spawnpoint of this class. Float:Z The Z coordinate of the spawnpoint of this class. Float:Angle The direction in which the player should face after spawning. weapon1 The first spawn-weapon for the player. weapon1_ammo The amount of ammunition for the primary spawnweapon. weapon2 The second spawn-weapon for the player. weapon2_ammo The amount of ammunition for the second spawnweapon. weapon3 The third spawn-weapon for the player. weapon3_ammo The amount of ammunition for the third spawnweapon.
Код:
(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
https://sampwiki.blast.hk/wiki/Skins:All
Check that for skins , and about weapons you can check this :
https://sampwiki.blast.hk/wiki/Weapons
Good luck