Little radio help
#1

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?
Reply
#2

What errors do you get?
Reply
#3

I dont get any errors, Sound doesnt play
Reply
#4

I dont see why it doesnt work.
Is i returning MAX_PLAYERS?
Reply
#5

Try this?

pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
     if(IsACop(i))
    {
           PlayCrimeReportForPlayer(i,RobberID1,3);
    }
}
Reply
#6

debug it :

if(IsACop(i))
{
PlayCrimeReportForPlayer(i,RobberID1,3);
SendClientMessage(i,COLOR,"Text");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)