OnPlayerCommandText -> Permanent
#1

So basically, I want to take out this command, and put it into the script permanently with the coordinates in that field.

Код:
    if (strcmp("/djradio", cmdtext, true) == 0)
    {
        new Float:X, Float:Y, Float:Z, Float:Distance = 15.0;
        GetPlayerPos(playerid, X, Y, Z);
		PlayAudioStreamForPlayer(playerid, "https://control.internet-radio.com:2199/tunein/energy106/playlist.pls", X, Y, Z, Distance, 10);
	return 1;
    }
Reply


Messages In This Thread
OnPlayerCommandText -> Permanent - by Melktert - 26.03.2016, 11:19
Re: OnPlayerCommandText -> Permanent - by Harty - 26.03.2016, 13:07
Re: OnPlayerCommandText -> Permanent - by Melktert - 26.03.2016, 13:22
Re: OnPlayerCommandText -> Permanent - by Mencent - 26.03.2016, 13:26

Forum Jump:


Users browsing this thread: 1 Guest(s)