16.06.2015, 13:07
AddPlayerClass is built up like so:
AddPlayerClass(3,1553.2662,-1653.8236,1718.9019,265.1515,0,0,0,0,0,0); //
3 - skin id
1553.2662 - X coordinate (left > right on a top view of the map)
-1653.8236 - Y coordinate (up > down on a top view of the map)
1718.9019 - Z coordinate (height - so.. if you jump it is 1 Z)
Then you get the angle (265.1515) and the weapon slots and ammo (max 3 weapons + ammo)
So, the first three coordinates are the coordinates you need.
AddPlayerClass(3,1553.2662,-1653.8236,1718.9019,265.1515,0,0,0,0,0,0); //
3 - skin id
1553.2662 - X coordinate (left > right on a top view of the map)
-1653.8236 - Y coordinate (up > down on a top view of the map)
1718.9019 - Z coordinate (height - so.. if you jump it is 1 Z)
Then you get the angle (265.1515) and the weapon slots and ammo (max 3 weapons + ammo)
So, the first three coordinates are the coordinates you need.