01.01.2011, 17:38
Hey guys, Ok well OnPlayerRequestClass I have added the code
Everything works except for the animation, The players still just stand there motionless. Any ideas on how to fix this?
Код:
public OnPlayerRequestClass(playerid, classid)
{
ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.1,0,0,0,0,0,1);
SetPlayerPos(playerid, 1877.7783, -1361.9614, 14.6406);
SetPlayerFacingAngle(playerid, 179.8732);
SetPlayerCameraPos(playerid, 1877.7006, -1367.4792, 14.6406);
SetPlayerCameraLookAt(playerid, 1900.6584, -700.2100, 13.3000);
//Picking what gang the player wishes to join.
SetPlayerTeamFromClass(playerid, classid);
return 1;
}


