Habe nun einen Musik Strem eingebaut:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/radio1", cmdtext, true) == 0)
{
PlayAudioStreamForPlayer(playerid, "http://www.bigfm.de/content/html/shared/webradio/index.html");
return 1;
}
if (strcmp("/radio2", cmdtext, true) == 0)
{
new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
GetPlayerPos(playerid, X, Y, Z);
PlayAudioStreamForPlayer(playerid, "http://www.cms.livjm.ac.uk/lib…quired/sounds/chicken.mp3", 1, 1, 1, Distance, 1000000000000);
return 1;
}
return 0;
}
So nun möchte ich complimieren und dann kommt das:
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(834) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(836) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(838) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(840) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(842) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(844) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(846) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(848) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(850) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(852) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(854) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(856) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(858) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(860) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(862) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(864) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(866) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(868) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(870) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(872) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(874) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(876) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(878) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(880) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(882) : error 010: invalid function or declaration
C:\Users\Michi\Desktop\Living in SA\gamemodes\test.pwn(884) : error 010: invalid function or declaration
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Muss ich noch ein New machen oder sowas pls help...