SA-MP Forums Archive
Bank Robbery Script. - 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)
+--- Thread: Bank Robbery Script. (/showthread.php?tid=392354)



Bank Robbery Script. - goviscrap - 13.11.2012

I am doing a "Bank Robbery" Script but i need help with one thing..
My command is /robbank to start the robbery but at the same time they types that command i want a message to be visible for all Leo's Online? Or If the bank robbery walks into a special "pos" a Message will be shown?
my question is How to?



Re: Bank Robbery Script. - rbush12 - 13.11.2012

What ever your define is to send a message to cops ( generally SendCopMessage) you use that to tell them.


Re: Bank Robbery Script. - NumbSkull - 13.11.2012

pawn Код:
SendRadioMessage(1 , DEPTRADIO, "** ALL Units Be Advised ** Someone is attempting to rob Los Santos Bank ** All Units Please Respond **");
        SendRadioMessage(2 , DEPTRADIO, "** ALL Units Be Advised ** Someone is attempting to rob Los Santos Bank ** All Units Please Respond **");
        SendRadioMessage(3 , DEPTRADIO, "** ALL Units Be Advised ** Someone is attempting to rob Los Santos Bank ** All Units Please Respond **");
        SendRadioMessage(7 , DEPTRADIO, "** ALL Units Be Advised ** Someone is attempting to rob Los Santos Bank ** All Units Please Respond **");
        SendRadioMessage(11, DEPTRADIO, "** ALL Units Be Advised ** Someone is attempting to rob Los Santos Bank ** All Units Please Respond **");
        SendRadioMessage(13, DEPTRADIO, "** ALL Units Be Advised ** Someone is attempting to rob Los Santos Bank ** All Units Please Respond **");
        SendRadioMessage(9 , TEAM_NEWS_COLOR, "** BREAKING NEWS! ** Someone is attempting to rob Los Santos Bank ** Go Cover The Story! **");
and for the message at a point have a timer checker for IsPlayerInRangeOfPoint(playerid, 2,x,y,z);


Re: Bank Robbery Script. - goviscrap - 13.11.2012

Thanks for the Help!!