21.09.2014, 02:32
(
Последний раз редактировалось Team_PRO; 21.09.2014 в 03:13.
Причина: uPDATE
)
Код:
C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9853) : error 029: invalid expression, assumed zero C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : error 029: invalid expression, assumed zero C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : warning 215: expression has no effect C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : warning 215: expression has no effect C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : warning 215: expression has no effect C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : warning 215: expression has no effect C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : warning 215: expression has no effect C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : error 001: expected token: ";", but found ")" C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : error 029: invalid expression, assumed zero C:\Users\Matt\Desktop\SA-MP Files\PHT\gamemodes\ptbt.pwn(9890) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
pawn Код:
if(dialogid == Radiodialog)
{
if(!response) return 0;
if(listitem == 0)
{
PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=914897");
SendClientMessage(playerid, yellow, "[SERVER]: You have choosen Channel 1, Type /off to stop audio streaming.");
return 1;
}
if(listitem == 1)
{
}
if(listitem == 2)
{
}
if(listitem == 3)
{
}
if(listitem == 4)
{
}
}
return 1;
}
CMD:stop(playerid, params[])
{
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid, 0xAA3333AA, "You've Turned Off The Radio");
return 1;
}
CMD:radio(playerid,params[])
{
#pragma unused params
ShowPlayerDialog(playerid,Radiodialog,2,""lwhite"Radio List",""lwhite"idobi Radio: New. Music. Unfiltered. idobi.com","Select","Hide");
format(str, sizeof(str), "[Player-Act]: %s has used /cmds(/commands)",GetPName(playerid));
SendAdminMessage(green2,str);
return 1;
}