Skin @ spawn screen - 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)
+--- Thread: Skin @ spawn screen (
/showthread.php?tid=509580)
Skin @ spawn screen -
NviDa - 27.04.2014
I have made teams etc.Police and Grove.
Now I want to add skins at the spawn screen.What do I do?
PS
Please see my other help topic,open for long.
https://sampforum.blast.hk/showthread.php?tid=508904
Re: Skin @ spawn screen -
IceBilizard - 27.04.2014
you need to use this
https://sampwiki.blast.hk/wiki/AddPlayerClass
Re: Skin @ spawn screen -
itsCody - 27.04.2014
I assume class selction?
https://sampwiki.blast.hk/wiki/AddPlayerClass
Re: Skin @ spawn screen -
NviDa - 27.04.2014
Well I know AddPlayerClass thats how I added skins.But I am talking about when I am @ spawn screen.
Here is a screen shot.
Re: Skin @ spawn screen -
IceBilizard - 27.04.2014
you need to make correct x,y,z positions
Re: Skin @ spawn screen -
NviDa - 27.04.2014
Can you explain more please?
Re: Skin @ spawn screen -
IceBilizard - 27.04.2014
try this
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetupPlayerForClassSelection(playerid);
return 1;
}
//==============================================================================
public SetupPlayerForClassSelection(playerid)
{
SetPlayerInterior(playerid,14);
SetPlayerFacingAngle(playerid, 270.0);
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 5.0);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
}
its my script code if it works then tell me
Re: Skin @ spawn screen -
NviDa - 27.04.2014
Ice I am getting 1 warning.
warning 235: public function lacks forward declaration (symbol "SetupPlayerForClassSelection")
Re: Skin @ spawn screen -
IceBilizard - 27.04.2014
pawn Код:
forward SetupPlayerForClassSelection(playerid);
Re: Skin @ spawn screen -
NviDa - 27.04.2014
Meh I just get more.