need help
#1

where i put dis





PlaySound(playerid,1009);
Reply
#2

What are you wanting the sound to play for?
Reply
#3

i got it went ppl join my sever i need a close sound like a player pick a class and it off,but mys keep playing.
Reply
#4

PlayerPlaySound(playerid,1097,1955.8129,-2181.6062,13.5865);

How can i put dis?
PlaySound(playerid,1009);

i ready got
PlayerPlaySound(playerid,1097,1955.8129,-2181.6062,13.5865);


it works
but i wanna it stop playing.
need to put dis PlaySound(playerid,1009);
Reply
#5

Quote:
Originally Posted by DerickClark
Посмотреть сообщение
PlayerPlaySound(playerid,1097,1955.8129,-2181.6062,13.5865);

How can i put dis?
PlaySound(playerid,1009);

i ready got
PlayerPlaySound(playerid,1097,1955.8129,-2181.6062,13.5865);


it works
but i wanna it stop playing.
need to put dis PlaySound(playerid,1009);
Put it like this if you want it to play when a player chooses class.

EDIT:
Код:
public OnPlayerSpawn(playerid)
{
    PlayerPlaySound(playerid, 1009, 0.0, 0.0, 0.0);    
	return 1;
}
Reply
#6

ye i picked a class still playing the sound.
Reply
#7

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    PlayerPlaySound(playerid, 1097, 0.0, 0.0, 0.0);
    return 1;
}

public OnPlayerSpawn(playerid)
{
    PlayerPlaySound(playerid, 1098, 0.0, 0.0, 0.0);
    return 1;
}
Reply
#8

Sorry I meant

Код:
public OnPlayerSpawn(playerid)
{
        PlayerPlaySound(playerid, 1009, 0.0, 0.0, 0.0);
	return 1;
}
Reply
#9

tys it work
Reply
#10

No problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)