Little radio help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Little radio help (
/showthread.php?tid=251328)
Little radio help -
Swiftz - 26.04.2011
I made this one
Код:
if(IsACop(i))
{
PlayCrimeReportForPlayer(i,RobberID1,3);
}
It is supposed to play some radio thing, But it doesnt play any idea?
Re: Little radio help -
RichyB - 26.04.2011
What errors do you get?
Re: Little radio help -
Swiftz - 26.04.2011
I dont get any errors, Sound doesnt play
Re: Little radio help -
RichyB - 26.04.2011
I dont see why it doesnt work.
Is i returning MAX_PLAYERS?
Re: Little radio help -
[DM]Kane - 26.04.2011
Try this?
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsACop(i))
{
PlayCrimeReportForPlayer(i,RobberID1,3);
}
}
Re: Little radio help -
aircombat - 26.04.2011
debug it :
if(IsACop(i))
{
PlayCrimeReportForPlayer(i,RobberID1,3);
SendClientMessage(i,COLOR,"Text");
}