SA-MP Forums Archive
Skin and Player spawn help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Skin and Player spawn help (/showthread.php?tid=87840)



Skin and Player spawn help - Quead - 22.07.2009

Hi, can tell anyone how can put some skin to another spawn and another skin to another spawn

Example: Skin: 2,190 to spawn 0,1360.9634,-921.0798,34.6825,92.8451,0,0,0,0,0,0
and

Skin: 250,120 to spawn 0,1630.5634,-532.0968,63.68325,92.8451,0,0,0,0,0,0

Can tell me anyone? sorry for my bad english


Re: Skin and Player spawn help - Rocco - 22.07.2009

Код:
	AddPlayerClass(2,1360.9634,-921.0798,34.6825,92.8451,0,0,0,0,0,0);
	AddPlayerClass(190,1360.9634,-921.0798,34.6825,92.8451,0,0,0,0,0,0);

	AddPlayerClass(250,1630.5634,-532.0968,63.68325,92.8451,0,0,0,0,0,0);
	AddPlayerClass(120,1630.5634,-532.0968,63.68325,92.8451,0,0,0,0,0,0);
The 0 you got in front of all your codes is the skincode... It says 0 as you might have /save'ed it with CJ...

There you have the playerclasses!, Add them under

public OnGameModeInit()
{







Re: Skin and Player spawn help - Rocco - 22.07.2009

Let me explain the numbers in it so you understand them all!

AddPlayerClass(120,1630.5634,-532.0968,63.68325,92.8451,0,0,0,0,0,0);

AddPlayerClass = Creates a spawn
( = Opening to the informations about "AddPlayerClass"

120 = Skin ID
1630.5634 = X-Coordinates
-532.0968 = Y-Coordinates
63.68325 = Z-Coordinates
92.8451 = Angle (The way the skin looks at)
0 = First Weapon
0 = First Weapon Ammunation
0 = Second Weapon
0 = Second Weapon Ammunation
0 = Third Weapon
0 = Third Weapon Ammunation

); = Closing the informations about "AddPlayerClass"




Re: Skin and Player spawn help - Quead - 22.07.2009

thank you so much