a bit unfamiliar
#1

I am a bit unfamiliar with PlayerPlaySound could someone help out? I am trying to make a garage opening and closing sound and its not stopping the sound.

Quote:

if(GarInfo[garid][IsOpened]==false)
{
MoveObject(GarInfo[garid][Garid], GarInfo[garid][Xpos2], GarInfo[garid][Ypos2], GarInfo[garid][Zpos2],GarInfo[garid][GarSpeed],GarInfo[garid][XApos2], GarInfo[garid][YApos2], GarInfo[garid][ZApos2]);
PlayerPlaySound(playerid, 1035, X, Y, Z);
GarInfo[garid][IsOpened]=true;
}
else
{
MoveObject(GarInfo[garid][Garid], GarInfo[garid][Xpos1], GarInfo[garid][Ypos1], GarInfo[garid][Zpos1],GarInfo[garid][GarSpeed],GarInfo[garid][XApos1], GarInfo[garid][YApos1], GarInfo[garid][ZApos1]);
PlayerPlaySound(playerid, 1035, X, Y, Z);
GarInfo[garid][IsOpened]=false;
}

Reply


Messages In This Thread
a bit unfamiliar with PlayerPlaySound - by vvhy - 27.05.2012, 18:49
AW: a bit unfamiliar - by Drebin - 27.05.2012, 19:17
Re: a bit unfamiliar - by vvhy - 27.05.2012, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)