11.03.2012, 01:29
So here is my code but the problem is how to put the music playing thingy.. To not play for each selection but only for thous skins?
Please help me out with this question..
Please help me out with this question..
Код:
else if(classid == 36 || classid == 37 || classid == 38 || classid == 39 || classid == 40 || classid == 41) { PlayAudioStreamForPlayer(playerid, "http://www.tm-rp.com/music/Retarded.mp3"); gTeam[playerid] = LSPD; GameTextForPlayer(playerid,"~w~Los Santos Police Department",3000,5); SetPlayerPos(playerid, 254.327987, 80.159652, 1003.640625); SetPlayerFacingAngle(playerid, 185.023376); SetPlayerCameraLookAt(playerid, 254.327987, 80.159652, 1003.640625); SetPlayerCameraPos(playerid, 254.327987 + (5 * floatsin(-185.023376, degrees)), 80.159652 + (5 * floatcos(-185.023376, degrees)), 1003.640625); SetPlayerInterior(playerid,6); SetPlayerVirtualWorld(playerid,1); SetPlayerColor(playerid,0x55FF00FF); }