Problem with PlayAudioStreamForPlayer
#5

Quote:
Originally Posted by MP2
Посмотреть сообщение
Why are you using strval on inputtext..?

Get rid of all the string shit and just do

PlayAudioStreamForPlayer(i, inputtext, X, Y, Z, 50, 1);
Hell yeah Damn my bad too MP2 Ty for this bruh.

Here's the code lil bruh. Try this one

pawn Код:
if(dialogid == 125)
        {
            if(strlen(inputtext))
            {
                new Float:X, Float:Y, Float:Z;
                GetPlayerPos(playerid, X, Y, Z);
                for(new i = 0; i < MAX_PLAYERS; i++)
                {
                    if(IsPlayerConnected(i))
                    {
                        if(IsPlayerInRangeOfPoint(i, 50 , X, Y, Z))
                        {
                            PlayAudioStreamForPlayer(i, inputtext, X, Y, Z, 50, 1);
                            return 1;
                        }
                        return 1;
                    }
                }
            }
        }
Reply


Messages In This Thread
Problem with PlayAudioStreamForPlayer - by Petricko - 23.04.2012, 01:18
Re: Problem with PlayAudioStreamForPlayer - by Ballu Miaa - 23.04.2012, 01:35
Re: Problem with PlayAudioStreamForPlayer - by MP2 - 23.04.2012, 01:42
Re: Problem with PlayAudioStreamForPlayer - by Petricko - 23.04.2012, 01:42
Re: Problem with PlayAudioStreamForPlayer - by Ballu Miaa - 23.04.2012, 01:43
Re: Problem with PlayAudioStreamForPlayer - by MP2 - 23.04.2012, 01:44
Re: Problem with PlayAudioStreamForPlayer - by Ballu Miaa - 23.04.2012, 01:45
Re: Problem with PlayAudioStreamForPlayer - by Petricko - 23.04.2012, 01:49
Re: Problem with PlayAudioStreamForPlayer - by MP2 - 23.04.2012, 02:01

Forum Jump:


Users browsing this thread: 1 Guest(s)