Class model previews don't show up on connect - 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: Class model previews don't show up on connect (
/showthread.php?tid=83813)
Class model previews don't show up on connect -
decayer - 27.06.2009
When you connect to my (in development) freeroam gamemode/server, when you get to the "pick your class" crap. It does not show the models.
If you want a better explaination, go to the server:
71.173.247.175:7777
Re: Class model previews don't show up on connect -
McCrisp - 05.07.2009
Same here please someone help?
Re: Class model previews don't show up on connect -
refshal - 05.07.2009
Did you add any player classes to choose?
Re: Class model previews don't show up on connect -
dice7 - 05.07.2009
Set the player into the camera view with SetPlayerPosition under OnPlayerRequestClass
Re: Class model previews don't show up on connect -
McCrisp - 05.07.2009
Quote:
Originally Posted by dice7
Set the player into the camera view with SetPlayerPosition under OnPlayerRequestClass
|
yea but what are the cords for this?
Re: Class model previews don't show up on connect -
refshal - 05.07.2009
Quote:
Originally Posted by McCrisp
yea but what are the cords for this?
|
You can find them in-game by walking 2 meters foward and saving your position.
Re: Class model previews don't show up on connect -
McCrisp - 05.07.2009
Quote:
Originally Posted by cοοp
Quote:
Originally Posted by McCrisp
yea but what are the cords for this?
|
You can find them in-game by walking 2 meters foward and saving your position. 
|
yea kinda stupid of me ^^
But do i just gotta add this code in PWN?
Код:
public SetupPlayerForClassSelection(playerid)
{
SetPlayerPos(playerid,106,1962.0925,1343.0800,15.4823,86.5290);
}
Re: Class model previews don't show up on connect -
refshal - 05.07.2009
Quote:
Originally Posted by McCrisp
But do i just gotta add this code in PWN?
Код:
public SetupPlayerForClassSelection(playerid)
{
SetPlayerPos(playerid,106,1962.0925,1343.0800,15.4823,86.5290);
}
|
You've copied that from the Las Venturas Moneygrub gamemode, right?
No. You have to add that on OnPlayerSpawn.
Re: Class model previews don't show up on connect -
ByFukara - 05.07.2009
check onplayerrequestclass
Re: Class model previews don't show up on connect -
refshal - 05.07.2009
I mean, you have to add your SetPlayerPos on OnPlayerSpawn. Like this:
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,106,1962.0925,1343.0800,15.4823,86.5290);
return 1;
}