*HELP*How I can add player class
#7

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.
Reply


Messages In This Thread
*HELP*How I can add player class - by waim - 07.12.2009, 22:03
Re: *HELP*How I can add player class - by Goobiiify - 07.12.2009, 22:22
Re: *HELP*How I can add player class - by waim - 07.12.2009, 22:26
Re: *HELP*How I can add player class - by Goobiiify - 07.12.2009, 22:29
Re: *HELP*How I can add player class - by waim - 07.12.2009, 22:34
Re: *HELP*How I can add player class - by waim - 08.12.2009, 04:50
Re: *HELP*How I can add player class - by Emmet_ - 08.12.2009, 06:13

Forum Jump:


Users browsing this thread: 1 Guest(s)