Choosing skin problem
#1

public OnPlayerRequestSpawn(playerid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}



When im choosing the skin, i cant see the skin i just see the place around and nothing else...
What is the problem here?
Reply
#2

Your camera positioning is most likely not pointing at the characters spawn zone, when your press shift does it still spawn your character?
Reply
#3

When i press shift it spawns the character

Here are spawn positions of:

AddPlayerClass(102, 1831.2955, -1681.8398, 13.5469, 94.2809, 0, 0, 0 , 0, 0, 0); // ballas player position 1
AddPlayerClass(103, 1831.2955, -1681.8398, 13.5469, 94.2809, 0, 0, 0 , 0, 0, 0); // ballas player position 2
AddPlayerClass(104, 1831.2955, -1681.8398, 13.5469, 94.2809, 0, 0, 0 , 0, 0, 0); // ballas player position 3
AddPlayerClass(105, 2495.3098, -1686.9343, 13.5149, 2.3617, 0, 0, 0, 0, 0, 0); //grove player position 1
AddPlayerClass(106, 2495.3098, -1686.9343, 13.5149, 2.3617, 0, 0, 0, 0, 0, 0); //grove player position 2
AddPlayerClass(107, 2495.3098, -1686.9343, 13.5149, 2.3617, 0, 0, 0, 0, 0, 0); // grove player position 3
AddPlayerClass(108, 2421.2161, -1225.3422, 25.1340, 176.2511, 0, 0, 0, 0, 0, 0); // vagos player position 1
AddPlayerClass(109, 2421.2161, -1225.3422, 25.1340, 176.2511, 0, 0, 0, 0, 0, 0); // vagos player position 2
AddPlayerClass(110, 2421.2161, -1225.3422, 25.1340, 176.2511, 0, 0, 0, 0, 0, 0); // vagos player position 3
AddPlayerClass(163,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position
AddPlayerClass(164,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position 2
AddPlayerClass(165,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position 3
AddPlayerClass(1666,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position 4
AddPlayerClass(287,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position 5
AddPlayerClass(285,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position 6
AddPlayerClass(286,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position
AddPlayerClass(287,2779.8994,-2457.1028,13.6356,81.4541,0,0,0,0,0,0); // army player position 7
Reply
#4

Код:
public OnPlayerRequestClass(playerid, classid)
{
  SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  return 1;
}
and set interior too
Reply
#5

Quote:
Originally Posted by Frankox
public OnPlayerRequestSpawn(playerid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}



When im choosing the skin, i cant see the skin i just see the place around and nothing else...
What is the problem here?
That needs to be positioned a few units on front of the character, e.g try

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1961.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  return 1;
}
Might not be correct position, but you will see the character.

WeeDarr
Reply
#6

I dont see nothing....
Reply
#7

Cant see nothing still i just can see after i die and then start to choose but when i join to the server and start looking for a skin i cant see it..
Reply
#8

pawn Код:
public OnPlayerRequestClass(playerid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1961.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
Reply
#9

Quote:
Originally Posted by Frankox
public OnPlayerRequestSpawn(playerid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}



When im choosing the skin, i cant see the skin i just see the place around and nothing else...
What is the problem here?
i had the same problem ... why u dont try with SetPlayerInterior ? try this, go in debug mode and where u have class selectiuon write /interior... than u script it
Reply
#10

Quote:
Originally Posted by Geekzor
why u dont try with SetPlayerInterior ?
Because he said that he sees the place.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)