31.12.2015, 17:13
[pawno]
if (strcmp("/radiopos", cmdtext, true) == 0)
{
new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
GetPlayerPos(playerid, X, Y, Z);
PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls", X, Y, Z, Distance, 1);
return 1;
}
return 0;
}
[/pawno]
Help please!
I have errors on: new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
And i have errors on: GetPlayerPos(playerid, X, Y, Z);
Help please!
if (strcmp("/radiopos", cmdtext, true) == 0)
{
new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
GetPlayerPos(playerid, X, Y, Z);
PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls", X, Y, Z, Distance, 1);
return 1;
}
return 0;
}
[/pawno]
Help please!
I have errors on: new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
And i have errors on: GetPlayerPos(playerid, X, Y, Z);
Help please!