29.07.2012, 12:37
wiki.sa-mp.com/wiki/AddPlayerClass
pawn Код:
(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
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.
pawn Код:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:angle, weapon1, ammo1, weapon2, ammo2, weapon3, ammo3);