Help Please
#1

i want to make a music when someone join. how to do it?
Reply
#2

https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer

under

https://sampwiki.blast.hk/wiki/OnPlayerConnect
Reply
#3

PHP код:
OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid,"MUSICURLHERE");
return 
1;

Reply
#4

Quote:
Originally Posted by xTURBOx
Посмотреть сообщение
PHP код:
OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid,"MUSICURLHERE");
return 
1;

excuse me. im realy bad scripter. where do i need to put it?
Reply
#5

Put it OnPlayerConnect(playerid)

and put StopAudioStreamForPlayer(playerid); OnPlayerSpawn(playerid)
Reply
#6

Quote:
Originally Posted by Astralis
Посмотреть сообщение
Put it OnPlayerConnect(playerid)

and put StopAudioStreamForPlayer(playerid); OnPlayerSpawn(playerid)
thanks! i didnt know how to make it stop! but can you send the full code?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)