முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

EditPlayerClass

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Edit a class data.

NameDescription
classidThe class id to edit.
teamThe team you want the player to spawn in.
skinThe skin which the player will spawn with.
Float:spawnXThe X coordinate of the spawnpoint of this class.
Float:spawnYThe Y coordinate of the spawnpoint of this class.
Float:spawnZThe Z coordinate of the spawnpoint of this class.
Float:angleThe direction in which the player will face after spawning.
WEAPON:weapon1The first spawn-weapon for the player.
ammo1The amount of ammunition for the first spawn weapon.
WEAPON:weapon2The second spawn-weapon for the player.
ammo2The amount of ammunition for the second spawn weapon.
WEAPON:weapon3The third spawn-weapon for the player.
ammo3The amount of ammunition for the third spawn weapon.

Examples​

// Edit class id 10
EditPlayerClass(10, TEAM_NONE, 299, -253.8291, 2602.9312, 62.8527, -90.0000, WEAPON_KNIFE, 1, WEAPON_MP5, 100, WEAPON_COLT45, 20);