[Help] Spawning - 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: [Help] Spawning (
/showthread.php?tid=101884)
[Help] Spawning -
NiceGangstas - 12.10.2009
Hello Everyone, I was wondering how do I create like a selection of players when I connect to my server.
Like I press the right arrow to change player...
Re: [Help] Spawning -
NiceGangstas - 12.10.2009
Bump
Re: [Help] Spawning -
(.Aztec); - 12.10.2009
AddPlayerClass, you can add different skins that available to be chosen.
E.G:
pawn Код:
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
0: Skin ID, in this case, 0 = CJ
1958.3783, 1343.1572, 15.3746: X, Y, Z Spawn coordinate.
269.1425: Player Facing Angle.
0,0: These are weapons that they spawn with.
^ Weapon, ammo.
Re: [Help] Spawning -
NiceGangstas - 12.10.2009
Sorry, but this still doesnt help me... I still dont see any people, i just see invisiable stuff.. so when I press right arrow to change player, nothing i dont see anything happening, and I have added more play classes.
Re: [Help] Spawning -
(.Aztec); - 12.10.2009
Quote:
Originally Posted by ★TheJoker
Sorry, but this still doesnt help me... I still dont see any people, i just see invisiable stuff.. so when I press right arrow to change player, nothing i dont see anything happening, and I have added more play classes.
|
Check out OnPlayerRequestClass.
Re: [Help] Spawning -
Clank - 12.10.2009
its becuz you have to set a playerposition and cameraposition when you make a onplayerrequestspawn. just check out the standard gms.
Re: [Help] Spawning -
Pawno_Master - 12.10.2009
or just ****** it
or search on wiki samp page
Re: [Help] Spawning -
NiceGangstas - 13.10.2009
kkthxbai
Re: [Help] Spawning -
virspector - 13.10.2009
Quote:
Originally Posted by ★TheJoker
Sorry, but this still doesnt help me... I still dont see any people, i just see invisiable stuff.. so when I press right arrow to change player, nothing i dont see anything happening, and I have added more play classes.
|
You should change the selecting place, the default selection place got an error, you can't see the players because the camera is too close to the player, so you can't see the player.
Try finding a good selection place...