15.06.2011, 08:56
Hey i have a question
I want a dress room spawn how i can do that with the mirror in front ?
I want a dress room spawn how i can do that with the mirror in front ?
SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0
{
SetPlayerTeamFromClass(playerid, classid);
SetPlayerInterior(playerid,17); // Change the interior
SetPlayerPos(playerid,486.0409, -9.4562, 1000.6719); // Change the player position
SetPlayerFacingAngle(playerid, 137.9666); // Change the angle
SetPlayerCameraPos(playerid, 483.809051, -13.435981, 1000.679687); // change camera Position
SetPlayerCameraLookAt(playerid, 486.0409, -9.4562, 1000.6719); // Change this one aswell
GameTextForPlayer(playerid, "Class name here", 1000, 3);
}
}
}