22.11.2011, 22:56
Hola bueno quiero saber por que no se quita el sonido cuando spawneo
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
iSpawnSet[playerid] = 0;
SetupPlayerForClassSelection(playerid);
PlayerPlaySound(playerid, 1187, -1370.2362,-256.3250,15.0000);
SetupPlayerForClassSelection(playerid);
new skin = GetPlayerSkin(playerid);
switch (skin)
{
case 0,105,106,107,269,270,271,207:
{
GameTextForPlayer(playerid, "~g~team1",1000,6);
gTeam[playerid] = TEAM_1;
SetPlayerColor(playerid, TEAM_COLOR_0);
ApplyAnimation(playerid,"SMOKING","M_smk_drag",4.0,1,1,1,1,-1);
SetPlayerPos(playerid,2459.5,-1689.2,13.5);
SetPlayerFacingAngle(playerid,0.5);
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,2457.6,-1686.3,13.7);
SetPlayerCameraLookAt(playerid,2459.5,-1689.2,13.5);
}