26.09.2011, 12:01
how can i apply a anim when player request class ?? i was try
but in game doesn't work
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
SetPlayerPos(playerid, 2.9660,28.3319,1200.0781);
SetPlayerCameraPos(playerid, 2.9660,30.3319,1200.0781);
SetPlayerCameraLookAt(playerid, 2.9660,28.3319,1200.0781);
SetPlayerInterior(playerid,1);
SetPlayerFacingAngle(playerid,2.2269);
ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
return 1;
}