20.02.2013, 16:52
Hello,
I'm trying to make a command when a player types /play [station] it will play the station but it isn't working (I don't got pawno errors or warnings)
I'm trying to make a command when a player types /play [station] it will play the station but it isn't working (I don't got pawno errors or warnings)
pawn Код:
CMD:play(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, "Syntax: /play [station]");
SendClientMessage(playerid, COLOR_GREY, "Stations: SlamFM");
if(strcmp("SlamFM", true) == 0)
{
PlayAudioStreamForPlayer(playerid, "http://www.true.nl/streams/slamfmlivestream.pls");
return 1;
}
return 1;
}