10.01.2016, 14:56
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid, "~w~Welcome ~g~to ~r~LSGW", 10000, 5);
PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/qvm0l67c0h/10_Second_Intro_Music2.mp3");
InterpolateCameraPos(playerid, 2834.369873, -1941.860351, 74.138381, 1880.215332, -1708.051757, 93.565254, 10000);
InterpolateCameraLookAt(playerid, 2829.514404, -1940.670654, 74.237243, 1875.359985, -1706.862060, 93.664115, 1000);
return 1;
}
Here is the code....Now I need the help.. I want that for 10 seconds(10000 milliseconds) interpolate camera(I hope you know) and the music would show up....And also the text...Later it will redirect me to the onplayerrequestclass. Can anayone say me how to redirect to onplayerrequestclass?
{
GameTextForPlayer(playerid, "~w~Welcome ~g~to ~r~LSGW", 10000, 5);
PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/qvm0l67c0h/10_Second_Intro_Music2.mp3");
InterpolateCameraPos(playerid, 2834.369873, -1941.860351, 74.138381, 1880.215332, -1708.051757, 93.565254, 10000);
InterpolateCameraLookAt(playerid, 2829.514404, -1940.670654, 74.237243, 1875.359985, -1706.862060, 93.664115, 1000);
return 1;
}
Here is the code....Now I need the help.. I want that for 10 seconds(10000 milliseconds) interpolate camera(I hope you know) and the music would show up....And also the text...Later it will redirect me to the onplayerrequestclass. Can anayone say me how to redirect to onplayerrequestclass?