OnPlayerRequestClass problem[+rep]
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, player_x,player_y,player_z);
    SetPlayerFacingAngle(playerid, player_angle);
    SetPlayerCameraPos(playerid, camera_x,camera_y,camera_z);
    SetPlayerCameraLookAt(playerid, player_x,player_y,player_z);
    ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
    PlayerPlaySound(playerid,1097,-119.9460,23.1096,12.2238);
    if (PlayerInfo[playerid][SpawnDance]) PlayerInfo[playerid][SpawnTimer] = SetTimerEx("MoveCamera", moving_speed, true, "i", playerid);
    PlayerInfo[playerid][SpawnDance] = false;
    return 1;
}
this is maybe the solution.
Reply


Messages In This Thread
OnPlayerRequestClass problem[+rep] - by ZBits - 17.12.2013, 02:58
Re: OnPlayerRequestClass problem[+rep] - by RafaelZam - 17.12.2013, 03:05
Re: OnPlayerRequestClass problem[+rep] - by DavidLuango - 17.12.2013, 03:25
Re: OnPlayerRequestClass problem[+rep] - by ZBits - 17.12.2013, 03:28
Re: OnPlayerRequestClass problem[+rep] - by ZBits - 17.12.2013, 04:50

Forum Jump:


Users browsing this thread: 1 Guest(s)