SA-MP Forums Archive
Background spawn location - 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: Background spawn location (/showthread.php?tid=334060)



Background spawn location - TheMightyEddy - 13.04.2012

So how do I set a background spawn location? For example:

When i'm selecting a skill and i'm pressing the left and right buttons at the bottom of the screen and the player skin is at the top in the background. how do i set that background?


Re: Background spawn location - TheMightyEddy - 13.04.2012

Hey guys please help me?


Re: Background spawn location - TheMightyEddy - 14.04.2012

Help please?


Re: Background spawn location - Jonny5 - 14.04.2012

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
       
    SetPlayerInterior(playerid,14);
    SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
    SetPlayerFacingAngle(playerid,90.0);
    SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
    SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
    return 1;
}
look them 5 functions up in the wiki to see how they are used