Need help:Music payer in car!
#1

Hi everyone!
Today i am finally allowed to access forum!
Okay, so i am working in pawno for few days, im beginner, i was just changing something renaming CMD-s, making some simple cmd-s and etc...
Im interested how can i make make that when player is only in car to turn some music thats added in pawno:
Код:
CMD:music1(playerid, params[])
    {
    PlayAudioStreamForPlayer(playerid, "http://k006.kiwi6.com/hotlink/lk36f085y3/12.hot_right_now_feat._dj_fresh.mp3");
    SendClientMessage(playerid, COLOR_WHITE, "Now playing: Rita Ora-Hot right now Feat. DJ Fresh");
    return 1;
}
So how can i make script to play music when player is only in car and error when player is not in car
i think its not that complicated but i don't get much that 'if','else'...
Thanks!
Reply


Messages In This Thread
Need help:Music payer in car! - by mateo6151 - 16.01.2013, 06:05
Re: Need help:Music payer in car! - by RajatPawar - 16.01.2013, 06:24
Re: Need help:Music payer in car! - by mateo6151 - 16.01.2013, 06:42
Re: Need help:Music payer in car! - by mateo6151 - 16.01.2013, 07:05
Re: Need help:Music payer in car! - by coakiddo - 16.01.2013, 07:08
Re: Need help:Music payer in car! - by mateo6151 - 16.01.2013, 07:11

Forum Jump:


Users browsing this thread: 2 Guest(s)