were is the gamemode
#1

Hello

Today im gonna install Audio stream but i allways wounder how i put things in gamemode and how i do that.

Can someone help me plz!
Reply
#2

If you want to put the function PlayAudioStreamForPlayer just do if you want to the player listen the song when he has just connected you must do.

pawn Код:
public OnPlayerConnect(playerid)
{
    PlayAudioStreamForPlayer(playerid, yourURL);
    return 1;
}
The OnPlayerConnect callback already exists so you have to search it with CTRL + F and put that code inside of it without the public, only the PlayAudioStream function.
Reply
#3

Wait Wait i allready know that but i meen should i press new in pawno and insert that and save it as whatelse
But when i save it i get one error: C:\Users\xxxx\Desktop\Untitled.pwn(56) : error 017: undefined symbol "yourURL"
Reply
#4

O i forget url i putted in that as you saying but soon i get:
C:\Users\xxxx\Desktop\Untitled.pwn(56 -- 57) : error 029: invalid expression, assumed zero
C:\Users\xxxx\Desktop\Untitled.pwn(57) : warning 215: expression has no effect
Reply
#5

Help me!
Reply
#6

Stop spamming!
Dude, seriously? "undefined symbol yourURL" ?? Stupidity level is too high...
Learn to script before you get in advanced things, no offence.
Reply
#7

Plz i tired to read 50 page about this can you be nice and tell me how i do
And i have putted in the url but i still get errors
Reply
#8

Give us the exact script.
Reply
#9

show us the code please.
you're probably missing some "YourURL"); or something.
Reply
#10

Quote:
Originally Posted by hallonet99
Посмотреть сообщение
O i forget url i putted in that as you saying but soon i get:
C:\Users\xxxx\Desktop\Untitled.pwn(56 -- 57) : error 029: invalid expression, assumed zero
C:\Users\xxxx\Desktop\Untitled.pwn(57) : warning 215: expression has no effect
Here is the error but im already typed in a url so if you want the script scroll up to #2 JavoDiaz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)