How to chnage the background, when selecting your skin
#10

Hmm I onced made a small function that makes it easier:
instead of doing
setplayerpos
setplayerfacingangle
setcamerapos
setcameralookat
all you have to do is put the player pos and camera pos.....

there it is:
forward SetPlayerSelectionPos(playerid, Floatx, Floaty, Floatz, Floata, Float:cx, Float:cy, Float:cz);

public SetPlayerSelectionPos(playerid, Floatx, Floaty, Floatz, Floata, Float:cx, Float:cy, Float:cz)
{
SetPlayerPos(playerid, px, py, pz);
SetPlayerFacingAngle(playerid, pa);
SetPlayerCameraPos(playerid, cx, cy, cz);
SetPlayerCameraLookAt(playerid, px, py, pz);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)