login Music Stream
#1

Well alot of guys were asking for it,so decided to post it for you guys
I'm new so dont know much on how to use these forums.

Well on top of your script add this:
Код:
new bool:firstSpawn[ MAX_PLAYERS ];
Then Place this Below [public OnPlayerConnect]
Код:
PlayAudioStreamForPlayer( playerid, "Link" );
          firstSpawn[ playerid ] = true;
Then after this place This code Under [public OnPlayerSpawn]
Код:
StopAudioStreamForPlayer ( playerid );
         firstSpawn[ playerid ] = false;
After This Just compile it!
Got Questions i will be Happy to help

also visit my server(RP) 37.59.28.180:13053
Reply
#2

Welcome to the forums. And yeah add this post in this section.

EDIT: And yeah I would use PVar for this. PVar are faster.
Reply
#3

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
Welcome to the forums. And yeah add this post in this section.

EDIT: And yeah I would use PVar for this. PVar are faster.
PVars should never be used unless you ABSOLUTELY need them. They are intended for cross-script variables.
Reply
#4

And I don't think they are 'faster' to be honest.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)