Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- initPlayerLocal.sqf
- */
- ambient_radio = {
- []spawn{
- while {alive player} do {
- sleep (floor random 15);
- _sound = floor ( ( random 57 ) + 1 );
- if(_sound < 10)then{
- _sound = "0" + str _sound;
- };
- [player,format["UVO_ambientRadio%1",_sound]]remoteExec["say3d",0];
- sleep 40;
- };
- };
- };
- player addEventHandler ["Respawn", {
- params ["_unit", "_corpse"];
- call ambient_radio;
- }];
- call ambient_radio;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement