09.07.2009, 23:22
almost the same thing everytime, it always starts with class selection, the only thing i ever noticed changing all this is that the arrow keys spawn the player auto in the class selection, which does not help.
sorry if im being kind of vague, its one of those deals where you spend an hour messing around with something, trying anything you can think of with no success. kind of forgot everything i have tried.
for example right now i have
and it starts you at the class selection menu with the vinewood backdrop.
then, i tried deleting the above OnPlayerRequestClass, and leaving everything else, and I get the same results.
now i try
same results
i just also tried just OnPlayerConnect, with and without this SpawnPlayer
sorry if im being kind of vague, its one of those deals where you spend an hour messing around with something, trying anything you can think of with no success. kind of forgot everything i have tried.
for example right now i have
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
return 1;
}
pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, 2480.2788,41.7482,26.4844);
SetPlayerCameraPos(playerid, 2466.5422,41.7482,27.3437);
SetPlayerCameraLookAt(playerid, 2386.2788,41.7482,26.4844);
TogglePlayerControllable(playerid, 0);
return 1;
}
then, i tried deleting the above OnPlayerRequestClass, and leaving everything else, and I get the same results.
now i try
pawn Code:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid);
return 1;
}
pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, 2480.2788,41.7482,26.4844);
SetPlayerCameraPos(playerid, 2466.5422,41.7482,27.3437);
SetPlayerCameraLookAt(playerid, 2386.2788,41.7482,26.4844);
TogglePlayerControllable(playerid, 0);
return 1;
}
i just also tried just OnPlayerConnect, with and without this SpawnPlayer
pawn Code:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid);
SetPlayerPos(playerid, 2480.2788,41.7482,26.4844);
SetPlayerCameraPos(playerid, 2466.5422,41.7482,27.3437);
SetPlayerCameraLookAt(playerid, 2386.2788,41.7482,26.4844);
TogglePlayerControllable(playerid, 0);
return 1;
}