No Sound On Player Spawn When I added it...
#1

pawn Код:
new rand = random(sizeof(RequestCamera));
    cordinatex = RequestCamera[rand][0];
    cordinatey = RequestCamera[rand][1];
    cordinatez = RequestCamera[rand][2];
    cordinateangle = RequestCamera[rand][3];
    PlayerPlaySound(playerid, 1185, cordinatex, cordinatey, cordinatez);
    SetPlayerFacingAngle(playerid, cordinateangle);
    SetPlayerCameraPos(playerid,cordinatex+(10*floatsin(-cordinateangle,degrees)),cordinatey+(10*floatcos(-cordinateangle,degrees)),cordinatez);//0.8 is a test
    SetPlayerCameraLookAt(playerid, cordinatex,cordinatey,cordinatez);
    SpawnCam[playerid][SpawnTimer] = SetTimerEx("MoveCamera", 50, true, "i", playerid);// 2 to reduce lagg change if wanted
    SetCameraBehindPlayer(playerid);
Reply


Messages In This Thread
No Sound On Player Spawn When I added it... - by Robert_Crawford - 17.06.2011, 07:45
Re: No Sound On Player Spawn When I added it... - by iggy1 - 17.06.2011, 07:48
Re: No Sound On Player Spawn When I added it... - by Max_Coldheart - 17.06.2011, 07:51
Re: No Sound On Player Spawn When I added it... - by Robert_Crawford - 17.06.2011, 07:54
Re: No Sound On Player Spawn When I added it... - by iggy1 - 17.06.2011, 07:59
Re: No Sound On Player Spawn When I added it... - by Robert_Crawford - 17.06.2011, 08:05

Forum Jump:


Users browsing this thread: 1 Guest(s)