11.08.2009, 18:37
hi,
i want to set my class selection at the Abandoned airport
the code looks like this:
here is the saved position i used:
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
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;
}
Код:
AddPlayerClass(0,414.3552,2530.1565,23.3113,180.0331,0,0,0,0,0,0); // rrequest class

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

