Problem With PlayerRequestClass
#1

hi,

i want to set my class selection at the Abandoned airport

the code looks like this:

Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid,414.3552,2530.1565,23.3113);
  SetPlayerCameraPos(playerid,414.3552,2530.1565,23.3113);
  SetPlayerFacingAngle(playerid,0.0)

	PlayerPlaySound(playerid,1187 ,0, 0, 0);
  ApplyAnimation(playerid,"COP_AMBIENT","Copbrowse_loop ",4.0,1,0,0,0,-1);
 	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
  PlayerPlaySound(playerid,1188 ,0, 0, 0);
	return 1;
}
here is the saved position i used:

Код:
AddPlayerClass(0,414.3552,2530.1565,23.3113,180.0331,0,0,0,0,0,0); // rrequest class
the problem is it does not even look at the player, it looks like this:



please help

PS-it just stays at that screen till i press shift and spawn
Reply


Messages In This Thread
Problem With PlayerRequestClass - by wilcock33 - 11.08.2009, 18:37
Re: Problem With PlayerRequestClass - by Memoryz - 11.08.2009, 18:39
Re: Problem With PlayerRequestClass - by wilcock33 - 11.08.2009, 18:40
Re: Problem With PlayerRequestClass - by arnutisz - 11.08.2009, 18:45
Re: Problem With PlayerRequestClass - by wilcock33 - 11.08.2009, 18:46

Forum Jump:


Users browsing this thread: 1 Guest(s)