Posts: 192
Threads: 49
Joined: Nov 2009
Reputation:
0
not ID skins I want ID class where players spawned
This will be a test class. Place it under the OnGameModeInIt function.
AddPlayerClass(265,1630.6813,-2259.4365,13.4938,342.5303,27,500,0,0,0,0); //
You spawn as Officer Tenpenny with a Combat Shotgun holding 500 bullets at the Los Santos Airport. It's really simple to do.
"265" is the Skin ID. Search for them on SA-MP wikipedia.
"1630.6813,-2259.4365,13.4938,342.5303," is the X,Y,Z, and Angle. Do /save in game and look in your "savedpositions.txt" file for the positions.
"27,500" is weapon 1, and the ammo that was assigned to the player. Look on SA-MP wikipedia for a list of weapon ID's.
AddPlayerClass(Skin ID,X,Y,Z,Angle,Weapon 1,Ammo 1,Weapon 2,Ammo 2,Weapon 3,Ammo 3); //
It's really easy... Hope this helped.