23.09.2012, 02:21
Code:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/play", cmdtext, true) == 0) { PlayAudioStreamForPlayer(playerid, "http://184.22.207.58:14380"); return 1; } if (strcmp("/radio", cmdtext, true) == 0) { new Float:X, Float:Y, Float:Z, Float:Distance = 5.0; GetPlayerPos(playerid, X, Y, Z); PlayAudioStreamForPlayer(playerid, "http://184.22.207.58:14380", X, Y, Z, Distance, 1); return 1; }
http://www.cyberelectro.com.br/