08.03.2014, 13:01
Explique direito olhe o cуdigo total...
Pode enviar seu Skype?
PHP Code:
#define ID_Padrao 5757
#include <a_samp>
#include <zcmd>
#include <DOF2>
new LoadedID = ID_Padrao;
public OnFilterScriptInit()
{
if(!fexist("FS_Config.CS.ini"))
{
DOF2_CreateFile("FS_Config.CS.ini");
DOF2_SetInt("FS_Config.CS.ini","ID", ID_Padrao);
DOF2_SaveFile();
}
if(DOF2_GetInt("FS_Config.CS.ini","ID") > 0 && DOF2_GetInt("CS_Config.CS.ini","ID") < 9999)
{
LoadedID = DOF2_GetInt("FS_Config.CS.ini","ID");
}
print("\nSistema de Rбdio");
print("Rбdio Total Dance...");
print("100%\n");
printf("Current DialogID: %i", LoadedID);
return 1;
}
public OnPlayerCommandText(playerid,cmdtext[])
{
return 0;
}
public OnPlayerCommandReceived(playerid,cmdtext[]){return 1;}
public OnPlayerConnect(playerid){return 1;}
public OnFilterScriptExit()
{
return 1;
}
CMD:radio(playerid)
{
SendAdminText(playerid, "/radio", params);
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid,"http://74.222.2.146:9358");
SendClientMessage(playerid,0x0F0F0F0F,"{87CEFA}Vocк estб conectado na {FFFFFF}Rбdio Total Dance.");
return 1;
}
CMD:s(playerid)
{
SendAdminText(playerid, "/s", params);
StopAudioStreamForPlayer(playerid);
return 1;
}